-
Notifications
You must be signed in to change notification settings - Fork 180
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
Selecting prev/next in cmdline removes line range markers (<,>
)
#1092
Comments
I've submitted a fix for this issue in PR #1155 . |
Hi, thanks for the fix! It works for visual range selection ( |
Thank you for working on the fix!!! |
I've implemented a fix that preserves prefixes like &, visual ranges ('<,'>), and numeric ranges (3,5) during completion. Tested with commands like :echo &buf<completion_key>, and it now behaves as expected. Let me know if any further adjustments are needed! |
@solidtesting Thanks, I can confirm the reported issues (both from me and @ranjithshegde) have been fixed. I'll keep this opened until the fix is merged. |
@Davidyz and @solidtesting i believe #1161 is also related but for the end part |
Make sure you have done the following
blink.cmp
<C-k>
on https://cmp.saghen.dev)Bug Description
After visually selecting some lines and trying to type a command, for example
:<,>s/foo/bar/
(<,>
is automatically added by neovim as the selection range markers), when you just finished typings
and press<Up>
(binded to"select_prev"
when usingenter
preset), the completion menu will erase the<,>
markers. The completion only works as intended if there is a space befores
, for example::<,> s/foo/bar/
. Similar behaviour was observed when manually typing the line ranges, like:3,5s/foo/bar/
won't work, but:3,5 s/foo/bar/
will.Relevant configuration
neovim
versionv0.10.3
blink.cmp
versionmain
The text was updated successfully, but these errors were encountered: