nvim disable autocomplete

This commit is contained in:
thek4n 2024-12-03 15:04:30 +03:00
parent 5c6f5fba0a
commit 468b9b698f

View File

@ -13,7 +13,7 @@ local function setup_cmp()
cmp.setup({
completion = {
autocomplete = {'TextChanged'},
autocomplete = false,
},
snippet = {
expand = function(args)
@ -40,7 +40,7 @@ local function setup_cmp()
['<C-e>'] = cmp.mapping.abort(),
['<CR>'] = cmp.mapping.confirm({
behavior = cmp.ConfirmBehavior.Select,
select = true,
select = false,
}),
['`'] = cmp.mapping.confirm({
behavior = cmp.ConfirmBehavior.Select,