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:

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:

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:

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:

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: