-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Adjust the yss surrounds operator #11212
Conversation
… for the yss surrounds operation
Maybe we also need to deal with the case where the end of the line is a space, and if so, the logic at the end of the line needs to be modified somewhat |
👍 looks like that's what nvim does. |
It seems that there should be no difference between using |
Use the new helpers for yss to do less buffer parsing.
e2ae012
to
3533216
Compare
@weartist Instead of re-doing the buffer iteration, I thought it would be better to reuse the existing logic. Then I noticed that we didn't have a "go to last non-whitespace" yet... So, pushed up some fixes to Along the way I noticed that counts weren't working, so I fixed that too. |
@ConradIrwin It's more suitable, thank you very much! |
For #11084 In the case of an indentation in front of the current line, it may also be necessary to deal with the start point of the selected range
Release Notes: