plugins.cmp.settings.completion.autocomplete
The event to trigger autocompletion.
If set to false
, then completion is only invoked manually (e.g. by calling cmp.complete
).
Plugin default: ["require('cmp.types').cmp.TriggerEvent.TextChanged"]
Type: null or value false (singular enum) or list of lua code string
Default:
null
Declared by:
plugins.cmp.settings.completion.completeopt
Like vim’s completeopt setting. In general, you don’t need to change this.
Plugin default: "menu,menuone,noselect"
Type: null or string or raw lua code
Default:
null
Declared by:
plugins.cmp.settings.completion.keyword_length
The number of characters needed to trigger auto-completion.
Plugin default: 1
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Declared by:
plugins.cmp.settings.completion.keyword_pattern
The default keyword pattern.
Plugin default: [[\%(-\?\d\+\%(\.\d\+\)\?\|\h\w*\%(-\w*\)*\)]]
Type: null or lua code string
Default:
null
Declared by: