Fix ultisnips cmp problem

This commit is contained in:
2024-09-14 12:48:33 +02:00
parent 299cdc7267
commit 2e0d35c2d9
2 changed files with 3 additions and 5 deletions

View File

@@ -59,7 +59,7 @@ cmp.setup({
{ name = "calc" },
{ name = "lua-latex-symbols", option = { cache = true } },
{ name = "cmp_tabnine", keyword_length = 20 },
{ name = "fuzzy_buffer", keyword_length = 4 },
-- { name = "fuzzy_buffer", keyword_length = 4 },
}),
-- add formatting of the different sources
@@ -67,7 +67,7 @@ cmp.setup({
fields = { "menu", "abbr", "kind" },
format = function(entry, item)
local menu_icon = {
ultisnips = ">",
ultisnips = "Φ",
nvim_lsp = "λ",
path = "󰴠",
calc = "Σ",