diff --git a/README.md b/README.md index 13f22d5..016b168 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ Which events should trigger `autocompletion`. If you leave this empty or `nil`, `nvim-cmp` does not perform completion automatically. You can still use manual completion though (like omni-completion). -Default: `{types.cmp.TriggerEvent.InsertEnter, types.cmp.TriggerEvent.TextChanged}` +Default: `{ types.cmp.TriggerEvent.TextChanged }` #### completion.keyword_pattern (type: string) diff --git a/lua/cmp/config/default.lua b/lua/cmp/config/default.lua index 9635441..9903c70 100644 --- a/lua/cmp/config/default.lua +++ b/lua/cmp/config/default.lua @@ -8,7 +8,6 @@ return function() return { completion = { autocomplete = { - types.cmp.TriggerEvent.InsertEnter, types.cmp.TriggerEvent.TextChanged, }, completeopt = 'menu,menuone,noselect',