Skip to content

Comments

Fix so jumping within dirty buffer works#74

Open
bkerin wants to merge 1 commit intozah:masterfrom
bkerin:noclobber
Open

Fix so jumping within dirty buffer works#74
bkerin wants to merge 1 commit intozah:masterfrom
bkerin:noclobber

Conversation

@bkerin
Copy link

@bkerin bkerin commented Nov 4, 2017

Using :e (edit) tries to clobber the changes to the buffer, so vim stops it. This fixes this problem by using :buffer instead of :edit for open files. Note that the behavior with respect to dirty buffers is still somewhat half-assed: jumps to other buffers that are also dirty go to the wrong line. But this is no worse than it was, and to fix it all dirty nim buffers would need to be saved, and that means even greater divergence with what the command-line compiler is going to see, and that might end up being even more confusion-prone the present behavior anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant