diff options
author | Teddy Wing | 2018-03-07 20:30:29 +0100 |
---|---|---|
committer | Teddy Wing | 2018-03-07 20:39:41 +0100 |
commit | 9e8c040bcb01391aa8ef7bb3206eed156c9315bc (patch) | |
tree | fd023a99ed6704e8d11bcdde87e67954b4ca3ab8 /bundle/git-blamer/plugin | |
parent | 6eb4fc5fabefb643a929082b8bfba50e63b3c8ec (diff) | |
download | dotvim-9e8c040bcb01391aa8ef7bb3206eed156c9315bc.tar.bz2 |
git-blamer: Fix bug causing `cursorbind` to be set on other windows
In some instances with more than one window open, closing the GitBlamer
window would cause other windows in the tab to have `cursorbind` (and
presumably `scrollbind`) set.
Fix the bug by setting `scrollbind` and `cursorbind` on the buffer
(these are window-local variables, we'll have to find out if it's weird
to set them on a buffer), and store the "restore" command in a
buffer-local variable (local to the GitBlamer window).
Diffstat (limited to 'bundle/git-blamer/plugin')
0 files changed, 0 insertions, 0 deletions