Skip to content

Commit fb51f70

Browse files
authored
Merge pull request nvim-lua#502 from ShashwatAgrawal20/item-selection
2 parents 82869f8 + 73a1f95 commit fb51f70

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,9 @@ cmp.setup {
564564
luasnip.lsp_expand(args.body)
565565
end,
566566
},
567+
completion = {
568+
completeopt = 'menu,menuone,noinsert'
569+
},
567570
mapping = cmp.mapping.preset.insert {
568571
['<C-n>'] = cmp.mapping.select_next_item(),
569572
['<C-p>'] = cmp.mapping.select_prev_item(),

0 commit comments

Comments
 (0)