mirror of
https://github.com/hrsh7th/nvim-cmp
synced 2024-09-16 20:54:03 +02:00
fix: remove deprecated use of vim.tbl_add_reverse_lookup (#1931)
This commit is contained in:
parent
2412237181
commit
31a2939e55
1 changed files with 3 additions and 1 deletions
|
@ -202,7 +202,9 @@ lsp.CompletionItemKind = {
|
|||
Operator = 24,
|
||||
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
|
||||
---@field public commitCharacters? string[]
|
||||
|
|
Loading…
Reference in a new issue