You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the text will changed to:
|abcd/* efg */ |
but the right result should be:
|abcd/* ef */g |
You're right of course. The reason for this is that (within the approach
of tcomment) there didn't seem to be a reliable way to distingish
between the last and the last but one position in a line. Maybe
vim/vimscript have changed in the meantime to allow distinguishing
between these two situations without having to change too much in the
plugin code. If you know of a way to handle this consistently across
operating systems, while taking into account all possible option values,
please let me know.
Env
Steps to reproduce problem:
prepare text line like below:
type
v
to enter visual mode, and selectef
, like below:type
gc
the text will changed to:
but the right result should be:
The text was updated successfully, but these errors were encountered: