fix(lsp): correct some type annotations (#21365)

This commit is contained in:
Mathias Fußenegger
2022-12-09 19:18:31 +01:00
committed by GitHub
parent 3cf0131c5c
commit 49df92da94
3 changed files with 55 additions and 44 deletions

View File

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