-
-
Notifications
You must be signed in to change notification settings - Fork 169
Closed
Description
Incorrect (current) behavior
When running gcO on a line that has a mark on it, the mark will be moved to the line the comment is being placed on.
Example:
- Put this code in a
.cppfile (to set comment string automatically) and put your cursor on thefinfoo:
int foo = 5;- Place mark
mon thefinfoo(mm) - Run
gcOand type " hello". You should now have this:
// hello
int foo = 5;- However, mark
mis also now on theeinhello. Test this by doing`mto jump to the character the mark is on.
Expected behavior
The expected behavior is that the mark should remain on the f in foo that it was placed on to begin with.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels