fix: remove deprecated use of vim.tbl_add_reverse_lookup (#1931)
This commit is contained in:
@@ -202,7 +202,9 @@ lsp.CompletionItemKind = {
|
|||||||
Operator = 24,
|
Operator = 24,
|
||||||
TypeParameter = 25,
|
TypeParameter = 25,
|
||||||
}
|
}
|
||||||
lsp.CompletionItemKind = vim.tbl_add_reverse_lookup(lsp.CompletionItemKind)
|
for k, v in pairs(lsp.CompletionItemKind) do
|
||||||
|
lsp.CompletionItemKind[v] = k
|
||||||
|
end
|
||||||
|
|
||||||
---@class lsp.internal.CompletionItemDefaults
|
---@class lsp.internal.CompletionItemDefaults
|
||||||
---@field public commitCharacters? string[]
|
---@field public commitCharacters? string[]
|
||||||
|
|||||||
Reference in New Issue
Block a user