You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lua/blink/cmp/config.lua
+2-2
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@
30
30
--- @fieldtimeout_msnumber How long to wait for semantic tokens to return before assuming no brackets should be added
31
31
32
32
--- @classblink.cmp.CompletionTriggerConfig
33
-
--- @fieldcontext_regexstring
33
+
--- @fieldkeyword_regexstring
34
34
--- @fieldblocked_trigger_charactersstring[]
35
35
--- @fieldshow_on_insert_on_trigger_characterboolean When true, will show the completion window when the cursor comes after a trigger character when entering insert mode
36
36
---
@@ -165,7 +165,7 @@ local config = {
165
165
-- regex used to get the text when fuzzy matching
166
166
-- changing this may break some sources, so please report if you run into issues
167
167
-- todo: shouldnt this also affect the accept command? should this also be per language?
168
-
context_regex='[%w_\\-]',
168
+
keyword_regex='[%w_\\-]',
169
169
-- LSPs can indicate when to show the completion window via trigger characters
170
170
-- however, some LSPs (*cough* tsserver *cough*) return characters that would essentially
171
171
-- always show the window. We block these by default
0 commit comments