Don't unnecessarily change ":verbose set scrollbind?"
This commit is contained in:
parent
9420d05ddd
commit
0a536ed5af
@ -4647,8 +4647,10 @@ function! s:BlameCommand(line1, line2, range, count, bang, mods, reg, arg, args)
|
|||||||
let temp = s:Resolve(temp)
|
let temp = s:Resolve(temp)
|
||||||
let s:temp_files[s:cpath(temp)] = {'dir': s:Dir(), 'filetype': 'fugitiveblame', 'args': cmd}
|
let s:temp_files[s:cpath(temp)] = {'dir': s:Dir(), 'filetype': 'fugitiveblame', 'args': cmd}
|
||||||
for winnr in range(winnr('$'),1,-1)
|
for winnr in range(winnr('$'),1,-1)
|
||||||
call setwinvar(winnr, '&scrollbind', 0)
|
if getwinvar(winnr, '&scrollbind')
|
||||||
if exists('+cursorbind')
|
call setwinvar(winnr, '&scrollbind', 0)
|
||||||
|
endif
|
||||||
|
if exists('+cursorbind') && getwinvar(winnr, '&cursorbind')
|
||||||
call setwinvar(winnr, '&cursorbind', 0)
|
call setwinvar(winnr, '&cursorbind', 0)
|
||||||
endif
|
endif
|
||||||
if s:BlameBufnr(winbufnr(winnr)) > 0
|
if s:BlameBufnr(winbufnr(winnr)) > 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user