|
89 | 89 | --- @field border? blink.cmp.WindowBorder
|
90 | 90 | --- @field order? "top_down" | "bottom_up"
|
91 | 91 | --- @field direction_priority? ("n" | "s")[]
|
| 92 | +--- @field auto_show? boolean |
92 | 93 | --- @field selection? "preselect" | "manual" | "auto_insert"
|
93 | 94 | --- @field winhighlight? string
|
94 | 95 | --- @field scrolloff? number
|
@@ -250,6 +251,8 @@ local config = {
|
250 | 251 | -- which directions to show the window,
|
251 | 252 | -- falling back to the next direction when there's not enough space
|
252 | 253 | direction_priority = { 's', 'n' },
|
| 254 | + -- Controls whether the completion window will automatically show when typing |
| 255 | + auto_show = true, |
253 | 256 | -- Controls how the completion items are selected
|
254 | 257 | -- 'preselect' will automatically select the first item in the completion list
|
255 | 258 | -- 'manual' will not select any item by default
|
@@ -281,6 +284,7 @@ local config = {
|
281 | 284 | autocomplete_north = { 'e', 'w', 'n', 's' },
|
282 | 285 | autocomplete_south = { 'e', 'w', 's', 'n' },
|
283 | 286 | },
|
| 287 | + -- Controls whether the documentation window will automatically show when selecting a completion item |
284 | 288 | auto_show = false,
|
285 | 289 | auto_show_delay_ms = 500,
|
286 | 290 | update_delay_ms = 50,
|
|
0 commit comments