mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Set winfixbuf on blame windows
References: https://github.com/tpope/vim-fugitive/issues/2272
This commit is contained in:
@@ -7097,6 +7097,9 @@ function! s:BlameSubcommand(line1, count, range, bang, mods, options) abort
|
|||||||
normal! zt
|
normal! zt
|
||||||
execute current
|
execute current
|
||||||
setlocal nonumber scrollbind nowrap foldcolumn=0 nofoldenable winfixwidth
|
setlocal nonumber scrollbind nowrap foldcolumn=0 nofoldenable winfixwidth
|
||||||
|
if exists('&winfixbuf')
|
||||||
|
setlocal winfixbuf
|
||||||
|
endif
|
||||||
if exists('+relativenumber')
|
if exists('+relativenumber')
|
||||||
setlocal norelativenumber
|
setlocal norelativenumber
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user