Finally a fast none disturbing auto completion. lsp_signature_nvim is kept as it provides info while filling in arguments. cmp lsp didn't work in my case, so didn't add it.
17 lines
281 B
Lua
17 lines
281 B
Lua
require('cmp').setup({
|
|
view = {
|
|
entries = 'native',
|
|
},
|
|
|
|
experimental = {
|
|
ghost_text = true,
|
|
},
|
|
|
|
sources = require('cmp').config.sources({
|
|
{ name = 'omni' },
|
|
{ name = 'nvim_lua' },
|
|
}, {
|
|
{ name = 'buffer' },
|
|
}),
|
|
})
|