mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 01:02:09 +00:00
feat(lsp): more annotations
This commit is contained in:

committed by
Lewis Russell

parent
320e9c1c21
commit
97bea3163a
@@ -91,7 +91,9 @@ do
|
||||
--
|
||||
-- Recommended usage:
|
||||
-- ```
|
||||
-- local _ = log.warn() and log.warn("123")
|
||||
-- if log.warn() then
|
||||
-- log.warn("123")
|
||||
-- end
|
||||
-- ```
|
||||
--
|
||||
-- This way you can avoid string allocations if the log level isn't high enough.
|
||||
|
Reference in New Issue
Block a user