diff options
author | Teddy Wing | 2018-03-07 21:08:47 +0100 |
---|---|---|
committer | Teddy Wing | 2018-03-07 21:08:47 +0100 |
commit | 56440acd5b4dbd5d871021088ef4c2080cda346d (patch) | |
tree | ff55180a129ebe4d16acc0d95b822388c25544d9 | |
parent | a48836ad6f4e8aae8b1dcd5b5c0d8a5935271abc (diff) | |
download | dotvim-56440acd5b4dbd5d871021088ef4c2080cda346d.tar.bz2 |
git-blamer: Use `syncbind` to aid horizontal line alignment
Adding `syncbind` appears to fix the bug where in certain cases the
GitBlamer cursor line and the buffer cursor line weren't horizontally
aligned.
-rw-r--r-- | bundle/git-blamer/autoload/git_blamer.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bundle/git-blamer/autoload/git_blamer.vim b/bundle/git-blamer/autoload/git_blamer.vim index d12578b..cafb332 100644 --- a/bundle/git-blamer/autoload/git_blamer.vim +++ b/bundle/git-blamer/autoload/git_blamer.vim @@ -31,6 +31,7 @@ function! git_blamer#Blame() setlocal noswapfile nowrap nolist nobuflisted buftype=nofile bufhidden=wipe setlocal scrollbind cursorbind + syncbind " Restore starting file's scrollbind on exit autocmd BufWinLeave <buffer> execute b:git_blamer_restore |