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