nvim fix autocompletions
This commit is contained in:
parent
668d4f2b94
commit
fa58f846dc
@ -22,6 +22,7 @@ opt.shell = 'zsh'
|
|||||||
opt.ttimeoutlen = 50
|
opt.ttimeoutlen = 50
|
||||||
opt.timeoutlen = 500
|
opt.timeoutlen = 500
|
||||||
|
|
||||||
|
opt.pumheight = 15
|
||||||
|
|
||||||
opt.compatible = false
|
opt.compatible = false
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@ local function setup_cmp()
|
|||||||
|
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
completion = {
|
completion = {
|
||||||
autocomplete = false
|
autocomplete = {'TextChanged'}
|
||||||
},
|
},
|
||||||
snippet = {
|
snippet = {
|
||||||
expand = function(args)
|
expand = function(args)
|
||||||
@ -100,4 +100,4 @@ return {
|
|||||||
{
|
{
|
||||||
'neovim/nvim-lspconfig',
|
'neovim/nvim-lspconfig',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user