feat(lsp): more annotations

This commit is contained in:
Lewis Russell
2023-12-13 12:00:11 +00:00
committed by Lewis Russell
parent 320e9c1c21
commit 97bea3163a
16 changed files with 364 additions and 228 deletions

View File

@@ -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.