plugins.blink-cmp.settings.sources.cmdline
cmdline
or buffer
.
Type: null or (list of (string or raw lua code)) or raw lua code
Default:
null
Plugin default: lib.nixvim.mkRaw "function()\n local type = vim.fn.getcmdtype()\n -- Search forward and backward\n if type == '/' or type == '?' then return { 'buffer' } end\n -- Commands\n if type == ':' then return { 'cmdline' } end\n return {}\nend\n"
Declared by:
plugins.blink-cmp.settings.sources.default
Default sources.
Type: null or (list of (string or raw lua code)) or raw lua code
Default:
null
Plugin default:
[
"lsp"
"path"
"snippets"
"buffer"
]
Declared by:
plugins.blink-cmp.settings.sources.min_keyword_length
Minimum number of characters in the keyword to trigger.
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Plugin default: 0
Declared by:
plugins.blink-cmp.settings.sources.per_filetype
Sources per filetype.
Type: null or (attribute set of ((attribute set of string) or raw lua code)) or raw lua code
Default:
null
Plugin default: { }
Declared by:
plugins.blink-cmp.settings.sources.transform_items
Function to transform the items before they’re returned.
Type: null or raw lua code
Default:
null
Plugin default: lib.nixvim.mkRaw "function(_, items) return items end"
Declared by: