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({
|
2022-03-06 11:15:38 +01:00
|
|
|
view = {
|
|
|
|
entries = "native",
|
|
|
|
},
|
2022-03-04 16:54:40 +01:00
|
|
|
sources = {
|
|
|
|
{ name = "buffer" },
|
2022-03-04 17:36:01 +01:00
|
|
|
{ name = "nvim_lsp" },
|
2022-03-04 16:54:40 +01:00
|
|
|
{ name = "nvim_lua" },
|
|
|
|
{ name = "path" },
|
|
|
|
},
|
|
|
|
})
|
|
|
|
EOF
|