fixup! fix: remove deprecated use of vim.tbl_add_reverse_lookup (#1931) (#1991)

This commit is contained in:
Andre Toerien
2025-01-06 16:10:21 +02:00
committed by GitHub
parent 5a9ad0d88b
commit 2c35020d30

View File

@@ -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