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
After I added performance.debounce = 500 to my global cmp config, I noticed that my cmp cmdline completion was broken. Specifically, triggering the completion was still instant, but now, after the debounce timer, it would "reevaluate" whatever completion was currently shown in the command-line, and use that as the new input for the completion list.
To be specific, here's what would happen:
As an example:
:e
the list of completions returned (truncated):
earlier
echo
echoerr
echohl
edit
I tap and hold <Tab> and it cycles through those 5 items one by one. Then, often but not always (presumably depending on what the state of the completion is when the debounce triggers), it "locks" into one of those items, so that now the new input is:
FAQ
Announcement
Minimal reproducible full config
Description
After I added
performance.debounce = 500
to my global cmp config, I noticed that my cmp cmdline completion was broken. Specifically, triggering the completion was still instant, but now, after the debounce timer, it would "reevaluate" whatever completion was currently shown in the command-line, and use that as the new input for the completion list.To be specific, here's what would happen:
As an example:
:e
the list of completions returned (truncated):
I tap and hold
<Tab>
and it cycles through those 5 items one by one. Then, often but not always (presumably depending on what the state of the completion is when the debounce triggers), it "locks" into one of those items, so that now the new input is:And the new list of possible options changes:
(those last three are from the cmdline-history plugin)
Steps to reproduce
Expected behavior
Actual behavior
Additional context
Setting
debounce
to0
either in the globalsetup
or insetup.cmdline
resolves the issue.The text was updated successfully, but these errors were encountered: