aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/health.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-02-11 11:42:21 +0000
committerGitHub <noreply@github.com>2024-02-11 11:42:21 +0000
commit8e86193502608c4a833f6996b942e8dd0eb8e476 (patch)
treefb84bd8ab82afc3938586a1d5e6c418cc8fd9330 /runtime/lua/vim/lsp/health.lua
parentd48f75e42e4c340f9c191c126d38aa9494741ccc (diff)
parenteac7e3fc6c738d7023c104f09341dbb10bf3c4bc (diff)
downloadrneovim-8e86193502608c4a833f6996b942e8dd0eb8e476.tar.gz
rneovim-8e86193502608c4a833f6996b942e8dd0eb8e476.tar.bz2
rneovim-8e86193502608c4a833f6996b942e8dd0eb8e476.zip
Merge pull request #27420 from MariaSolOs/warning-anxiety
refactor(lsp): fix type annotations and add shared diagnostic helper
Diffstat (limited to 'runtime/lua/vim/lsp/health.lua')
-rw-r--r--runtime/lua/vim/lsp/health.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/health.lua b/runtime/lua/vim/lsp/health.lua
index 9c989e5246..d770735895 100644
--- a/runtime/lua/vim/lsp/health.lua
+++ b/runtime/lua/vim/lsp/health.lua
@@ -7,7 +7,7 @@ function M.check()
local log = vim.lsp.log
local current_log_level = log.get_level()
- local log_level_string = log.levels[current_log_level]
+ local log_level_string = log.levels[current_log_level] ---@type string
report_info(string.format('LSP log level : %s', log_level_string))
if current_log_level < log.levels.WARN then