Skip to content

Commit

Permalink
fixup! Move to non deprecated function calls (hrsh7th#1930)
Browse files Browse the repository at this point in the history
  • Loading branch information
AThePeanut4 committed Jul 15, 2024
1 parent e1757ae commit 7bf3b7f
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 @@ -202,7 +202,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 = o[k]
lsp.CompletionItemKind[v] = k
end

Expand Down

0 comments on commit 7bf3b7f

Please sign in to comment.