home: vim: configure 'nvim-cmp'

This commit is contained in:
Bruno BELANYI 2022-03-04 16:54:40 +01:00
parent 02225dcb93
commit 15b3766aef

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