-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accepting completion in :=
lua cmdline removes prior input
#1240
Comments
:=
cmdline removes prior input:=
lua cmdline removes prior input
Similar cmdline completion issues have been occurred multiple times in previous releases (#883 (comment), #887 (comment)), is there any chance for blink to have unit tests to test them automatically? |
memchr
pushed a commit
to memchr/blink.cmp
that referenced
this issue
Feb 20, 2025
Fixes a special case where `:=prefix.` is used without a space after the `=`, which causes the prefix to be discarded when the completion is accepted. Closes Saghen#1240
memchr
pushed a commit
to memchr/blink.cmp
that referenced
this issue
Feb 20, 2025
Fixes a special case where `:=prefix.` is used without a space after the `=`, which causes the prefix to be discarded when the completion is accepted. Closes Saghen#1240
memchr
added a commit
to memchr/blink.cmp
that referenced
this issue
Feb 20, 2025
Fixes a special case where `:=prefix.` is used without a space after the `=`, which causes the prefix to be discarded when the completion is accepted. Closes Saghen#1240
memchr
added a commit
to memchr/blink.cmp
that referenced
this issue
Feb 21, 2025
Fixes a special case where `:=prefix.` is used without a space after the `=`, which causes the prefix to be discarded when the completion is accepted. Closes Saghen#1240
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make sure you have done the following
blink.cmp
<C-k>
on https://cmp.saghen.dev)Bug Description
When using
:=
cmdline (short form for:lua ={expr}
) I noticed that when I accept a completion candidate it gets inserted but prior input is deleted.repro
|
is cursor position:=vim.tbl_|
tbl_deep_extend
completion:=tbl_deep_extend|
counter check long form
the same works for the long form
:lua =vim.tbl_|
tbl_deep_extend
completion:lua =vim.tbl_deep_extend|
Relevant configuration
neovim
versionv0.11.0-dev-1756+gc091bc3b9a
blink.cmp
versionv0.12.3
The text was updated successfully, but these errors were encountered: