home: vim: configure 'nvim-cmp'

This commit is contained in:
Bruno BELANYI 2022-03-04 16:54:40 +01:00
parent 25967e21f1
commit 273618ff94

View file

@ -0,0 +1,14 @@
" Show completion menu in all cases, and don't select anything
set completeopt=menu,menuone,noselect
lua << EOF
local cmp = require("cmp")
cmp.setup({
sources = {
{ name = "buffer" },
{ name = "nvim_lua" },
{ name = "path" },
},
})
EOF