aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/log.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-06-11 12:05:18 +0100
committerLewis Russell <me@lewisr.dev>2024-06-11 12:45:43 +0100
commit5e49ef0af3cb8dba658e5d0dc6a807f8edebf590 (patch)
tree4d819cee76851c0c3168cd6f12c7d5ea87a586be /runtime/lua/vim/lsp/log.lua
parentd8e384b7bfd5829e5ff5006202faa584b3211e84 (diff)
downloadrneovim-5e49ef0af3cb8dba658e5d0dc6a807f8edebf590.tar.gz
rneovim-5e49ef0af3cb8dba658e5d0dc6a807f8edebf590.tar.bz2
rneovim-5e49ef0af3cb8dba658e5d0dc6a807f8edebf590.zip
refactor(lua): improve type annotations
Diffstat (limited to 'runtime/lua/vim/lsp/log.lua')
-rw-r--r--runtime/lua/vim/lsp/log.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/log.lua b/runtime/lua/vim/lsp/log.lua
index 9f2bd71158..0438ca84af 100644
--- a/runtime/lua/vim/lsp/log.lua
+++ b/runtime/lua/vim/lsp/log.lua
@@ -9,7 +9,7 @@ local log_levels = vim.log.levels
--- Can be used to lookup the number from the name or the name from the number.
--- Levels by name: "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF"
--- Level numbers begin with "TRACE" at 0
---- @type table<string|integer, string|integer>
+--- @type table<string,integer> | table<integer, string>
--- @nodoc
log.levels = vim.deepcopy(log_levels)