nvim disable autocomplete
This commit is contained in:
parent
5c6f5fba0a
commit
468b9b698f
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user