Skip to content

Commit

Permalink
fixup! fix: remove deprecated use of vim.tbl_add_reverse_lookup (#1931)…
Browse files Browse the repository at this point in the history
… (#1991)
  • Loading branch information
AThePeanut4 authored Jan 6, 2025
1 parent 5a9ad0d commit 2c35020
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/cmp/types/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ lsp.CompletionItemKind = {
Operator = 24,
TypeParameter = 25,
}
for k, v in pairs(lsp.CompletionItemKind) do
for _, k in ipairs(vim.tbl_keys(lsp.CompletionItemKind)) do
local v = lsp.CompletionItemKind[k]
lsp.CompletionItemKind[v] = k
end

Expand Down

0 comments on commit 2c35020

Please sign in to comment.