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
When using 2 files on a splited vim window, if I set a global mark on the first file, and then set the same global mark on the second pane, mark on the first pane is not cleared in the gutter (while global mark is effectively removed from first file).
The text was updated successfully, but these errors were encountered:
TLDR version: @sigzegv Marks are updated only when you enter the buffer. I did it this way to keep the implementation simple.
RTFM version:
When you add a global mark to the second buffer, I'd have to figure out if it exists in another file, if that file is open in a buffer and clear the sign for it before I place the new mark or I lose information about where the mark was placed previously. Furthermore, if there are multiple global marks strewn about, every time a global mark is placed I'd have to do each of the above steps.
In conclusion, all of this is possible and maybe not too difficult to implement. However, I chose to keep it simple. Updating only when the buffer is entered allows doing all the updates at once.
EDIT:
The above explanation is assuming you didn't move back to the first buffer after placing the mark in the second buffer. If you see the mark persist even after moving back, please let me know; that's a bug (though I just tested it and it seems to be working fine)
When using 2 files on a splited vim window, if I set a global mark on the first file, and then set the same global mark on the second pane, mark on the first pane is not cleared in the gutter (while global mark is effectively removed from first file).
The text was updated successfully, but these errors were encountered: