-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
The "sticky" option doesn't seem to work #487
Comments
Seems to be 2 issues here which look quite different depending on whether a line comment was used or something like a The same is true when a Either way, we're clearly not sticking but I figure this "jump" behavior is worth calling out. |
Thank you for the explanation. I think maybe I misunderstands the meaning the sticky option. I'm sorry for the ambiguity. I think what I use in the example is |
Yep, I'd like that as well but could live with it persisting the original position if needed. What I do find utterly annoying is the "jump" I've described when performing against an object other than a simple line. Hopefully this will be an easy fix. |
I tested the sticky option and found that it didn't affect the cursor position, whether it was true or false.
Below is my config for Comment.nvim:
(I am using neovim 0.10.0 and the latest version of Comment.nvim .)
What I want to achieve is something like this:
What I encounter:
The text was updated successfully, but these errors were encountered: