-
-
Notifications
You must be signed in to change notification settings - Fork 445
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
Bug when closing delimiter is at line end and open delimiter is after a multi-byte character #284
Comments
agguser
changed the title
Bug when closing delimiter is at line end and opening delimiter is after a multi-byte character
Bug when closing delimiter is at line end and open delimiter is after a multi-byte character
Nov 24, 2019
A fix is to change the line (in
to
. But I'm not sure if this will cause another bug. |
I'm not sure either, but I'd be willing to merge a PR and find out. |
agguser
added a commit
to agguser/vim-surround
that referenced
this issue
Nov 28, 2019
tpope
pushed a commit
that referenced
this issue
Nov 28, 2019
It seems that the fix doesn't cause a bug, so I close this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example, when a line of text is
a→'bc'
, and the cursor is on b, doing ds' causes the line to be
abc→
instead of
a→bc
. Note that when
set virtualedit=onemore
, the bug does not occur.The text was updated successfully, but these errors were encountered: