nix-config/home/vim/plugin/settings/completion.vim

16 lines
301 B
VimL
Raw Normal View History

2022-03-04 16:54:40 +01:00
" 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_lsp" },
2022-03-04 16:54:40 +01:00
{ name = "nvim_lua" },
{ name = "path" },
},
})
EOF