diff --git a/home/vim/plugin/settings/completion.vim b/home/vim/plugin/settings/completion.vim new file mode 100644 index 0000000..2069902 --- /dev/null +++ b/home/vim/plugin/settings/completion.vim @@ -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