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

19 lines
349 B
VimL

" Show completion menu in all cases, and don't select anything
set completeopt=menu,menuone,noselect
lua << EOF
local cmp = require("cmp")
cmp.setup({
view = {
entries = "native",
},
sources = {
{ name = "buffer" },
{ name = "nvim_lsp" },
{ name = "nvim_lua" },
{ name = "path" },
},
})
EOF