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
When I tab over a Copilot completion suggestion, it seems to actually add some of the text to the line I'm on (weirdly, before the cursor). Then, if I abort the completion menu, some of that added text is often left over, for example:
It only seems to happen when the suggestion occurs at an indented position on an otherwise blank line.
I don't think it's relevant, but this is my setup for <Tab> in cmp.setup{}:
The command I run to abort the completion menu is cmp.abort() which, according to :h cmp.abort "closes the completion menu and restores the current line to the state before the current completion was started." But yeah, the line is definitely not being restored properly. That makes me think it's an issue with cmp but this issue only comes up for Copilot suggestions (possibly because other completion sources don't seem to offer suggestions on indented blank lines).
Any help is appreciated :)
The text was updated successfully, but these errors were encountered:
When I tab over a Copilot completion suggestion, it seems to actually add some of the text to the line I'm on (weirdly, before the cursor). Then, if I abort the completion menu, some of that added text is often left over, for example:
It only seems to happen when the suggestion occurs at an indented position on an otherwise blank line.
I don't think it's relevant, but this is my setup for <Tab> in cmp.setup{}:
The command I run to abort the completion menu is
cmp.abort()
which, according to:h cmp.abort
"closes the completion menu and restores the current line to the state before the current completion was started." But yeah, the line is definitely not being restored properly. That makes me think it's an issue with cmp but this issue only comes up for Copilot suggestions (possibly because other completion sources don't seem to offer suggestions on indented blank lines).Any help is appreciated :)
The text was updated successfully, but these errors were encountered: