mirror of
https://github.com/dam9000/kickstart-modular.nvim.git
synced 2025-12-28 09:13:59 +00:00
Merge remote-tracking branch 'upstream/master'
- fix(auto-completion): ensure first menu item is selected by default
This commit is contained in:
commit
2e401e09fb
@ -11,6 +11,9 @@ cmp.setup {
|
||||
luasnip.lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
completion = {
|
||||
completeopt = 'menu,menuone,noinsert'
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert {
|
||||
['<C-n>'] = cmp.mapping.select_next_item(),
|
||||
['<C-p>'] = cmp.mapping.select_prev_item(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user