mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
fix(lsp): correct some type annotations (#21365)
This commit is contained in:

committed by
GitHub

parent
3cf0131c5c
commit
49df92da94
@@ -141,7 +141,7 @@ end
|
||||
vim.tbl_add_reverse_lookup(log.levels)
|
||||
|
||||
--- Sets the current log level.
|
||||
---@param level (string or number) One of `vim.lsp.log.levels`
|
||||
---@param level (string|number) One of `vim.lsp.log.levels`
|
||||
function log.set_level(level)
|
||||
if type(level) == 'string' then
|
||||
current_log_level =
|
||||
|
Reference in New Issue
Block a user