When true, will prefetch the completion items when entering insert mode. WARN: buggy, not recommended unless you’d like to help develop prefetching.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

When false, will not show the completion window when in a snippet.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

When both this and show_on_trigger_character are true, will show the completion window when the cursor comes after a trigger character after accepting an item.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

LSPs can indicate when to show the completion window via trigger characters.

However, some LSPs (i.e. tsserver) return characters that would essentially always show the window. We block these by default.

Type: null or (list of (string or raw lua code)) or raw lua code

Default: null

Plugin default: lib.nixvim.mkRaw "function()\n if vim.api.nvim_get_mode().mode == 'c' then return {} end\n return { ' ', '\\n', '\\t' }\n end\n"

Declared by:

When both this and show_on_trigger_character are true, will show the completion window when the cursor comes after a trigger character when entering insert mode.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

When true, will show the completion window after typing a character that matches the keyword.regex.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

When true, will show the completion window after typing a trigger character.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

List of trigger characters (on top of show_on_blocked_trigger_characters) that won’t trigger the completion window when the cursor comes after a trigger character when entering insert mode/accepting an item

Type: null or (list of (string or raw lua code)) or raw lua code

Default: null

Plugin default:

[
  "'"
  "\""
  "("
  "{"
  "["
]

Declared by: