nvim fix autocompletions

This commit is contained in:
thek4n 2024-01-30 14:49:16 +03:00
parent 668d4f2b94
commit fa58f846dc
2 changed files with 3 additions and 2 deletions

View File

@ -22,6 +22,7 @@ opt.shell = 'zsh'
opt.ttimeoutlen = 50
opt.timeoutlen = 500
opt.pumheight = 15
opt.compatible = false

View File

@ -13,7 +13,7 @@ local function setup_cmp()
cmp.setup({
completion = {
autocomplete = false
autocomplete = {'TextChanged'}
},
snippet = {
expand = function(args)
@ -100,4 +100,4 @@ return {
{
'neovim/nvim-lspconfig',
},
}
}