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
+8
Original file line number
Diff line number
Diff line change
@@ -152,6 +152,7 @@
152
152
--- @fieldauto_show? boolean
153
153
--- @fieldauto_show_delay_ms? number Delay before showing the documentation window
154
154
--- @fieldupdate_delay_ms? number Delay before updating the documentation window
155
+
--- @fieldtreesitter_highlighting? boolean Whether to use treesitter highlighting for the documentation window, disable if you run into performance issues
155
156
156
157
--- @classblink.cmp.SignatureHelpConfig
157
158
--- @fieldmin_width? number
@@ -162,6 +163,7 @@
162
163
--- @fieldwinhighlight? string
163
164
--- @fieldscrollbar? boolean
164
165
--- @fielddirection_priority? ("n" | "s")[]
166
+
--- @fieldtreesitter_highlighting? boolean Whether to use treesitter highlighting for the documentation window, disable if you run into performance issues
165
167
166
168
--- @classGhostTextConfig
167
169
--- @fieldenabled? boolean
@@ -493,6 +495,9 @@ local config = {
493
495
auto_show=false,
494
496
auto_show_delay_ms=500,
495
497
update_delay_ms=50,
498
+
-- whether to use treesitter highlighting for the documentation window, disable if you run into performance issues
499
+
-- WARN: temporary, eventually blink will support regex highlighting
500
+
treesitter_highlighting=true,
496
501
},
497
502
signature_help= {
498
503
min_width=1,
@@ -507,6 +512,9 @@ local config = {
507
512
-- which directions to show the window,
508
513
-- falling back to the next direction when there's not enough space
509
514
direction_priority= { 'n', 's' },
515
+
-- whether to use treesitter highlighting for the documentation window, disable if you run into performance issues
516
+
-- WARN: temporary, eventually blink will support regex highlighting
0 commit comments