Skip to content

Commit 2c35020

Browse files
authored
fixup! fix: remove deprecated use of vim.tbl_add_reverse_lookup (#1931) (#1991)
1 parent 5a9ad0d commit 2c35020

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/cmp/types/lsp.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ lsp.CompletionItemKind = {
200200
Operator = 24,
201201
TypeParameter = 25,
202202
}
203-
for k, v in pairs(lsp.CompletionItemKind) do
203+
for _, k in ipairs(vim.tbl_keys(lsp.CompletionItemKind)) do
204+
local v = lsp.CompletionItemKind[k]
204205
lsp.CompletionItemKind[v] = k
205206
end
206207

0 commit comments

Comments
 (0)