Closed evnu closed 7 years ago
Thanks!
I'll be honest and say that I vaguely understand the problem, and do not understand the solution, and that I also don't use this plugin any more since nothing I work on uses Mercurial any more.
So all of that said, I'm just going to trust on blind faith that this works and that you'll be around to fix things if anyone else finds issues here :)
Thanks, I will stick around and fix upcoming problems with this changeset (if there are any).
Currently, the
scrollbind
option is not reset when leaving a:HGblame
window. This pull request fixes this issue. The underlying problem is thatexpand('<abuf>')
returns a string, for whichbufwinnr()
returns -1. By converting the result ofexpand()
, resetting options when leaving the window works.