Compare commits

..

No commits in common. 'eb39f014917ee5167cda80a6384ec2f6c101bc16' and 'a52ef57538e4acab33296f84430e5a71e679c2fb' have entirely different histories.

  1. 7
      lua/conf/langs/completion.lua

7
lua/conf/langs/completion.lua

@ -45,15 +45,10 @@ cmp.setup({
nvim_lsp = 'λ',
vsnip = '',
buffer = 'Ω',
path = '',
path = '🖫',
}
item.menu = menu_icon[entry.source.name]
return item
end,
},
-- This will let enter work like expected and tab can be used to pick a suggestion.
preselect = cmp.PreselectMode.None
})
-- This also prevents enter from selecting the first suggestion.
vim.o.completeopt = "menuone,noselect,preview"

Loading…
Cancel
Save