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()
    local type = vim.fn.getcmdtype()
    -- Search forward and backward
    if type == '/' or type == '?' then return { 'buffer' } end
    -- Commands
    if type == ':' then return { 'cmdline' } end
    return {}
  end
''

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 ((list 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: