home: vim: configure 'nvim-cmp'
This commit is contained in:
parent
02225dcb93
commit
15b3766aef
14
home/vim/plugin/settings/completion.vim
Normal file
14
home/vim/plugin/settings/completion.vim
Normal 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
|
Loading…
Reference in a new issue