diff --git a/lua/complete.lua b/lua/complete.lua index 9b08675..9f4b608 100644 --- a/lua/complete.lua +++ b/lua/complete.lua @@ -17,6 +17,7 @@ cmp.setup { }, completion = { completeopt = 'menu,menuone,noinsert', + autocomplete = false, }, mapping = cmp.mapping.preset.insert { [''] = cmp.mapping.select_next_item(), @@ -24,7 +25,7 @@ cmp.setup { [''] = cmp.mapping.scroll_docs(-4), [''] = cmp.mapping.scroll_docs(4), [''] = cmp.mapping.complete {}, - [''] = cmp.mapping.confirm { + [''] = cmp.mapping.confirm { behavior = cmp.ConfirmBehavior.Replace, select = true, },