plugins.blink-cmp.settings.completion.trigger.prefetch_on_insert
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:
plugins.blink-cmp.settings.completion.trigger.show_in_snippet
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:
plugins.blink-cmp.settings.completion.trigger.show_on_accept_on_trigger_character
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:
plugins.blink-cmp.settings.completion.trigger.show_on_blocked_trigger_characters
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:
plugins.blink-cmp.settings.completion.trigger.show_on_insert_on_trigger_character
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:
plugins.blink-cmp.settings.completion.trigger.show_on_keyword
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:
plugins.blink-cmp.settings.completion.trigger.show_on_trigger_character
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:
plugins.blink-cmp.settings.completion.trigger.show_on_x_blocked_trigger_characters
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: