Set winfixbuf on blame windows

References: https://github.com/tpope/vim-fugitive/issues/2272
This commit is contained in:
Tim Pope
2024-03-16 12:37:29 -04:00
parent fe4ba848ba
commit 549e283d15

View File

@@ -7097,6 +7097,9 @@ function! s:BlameSubcommand(line1, count, range, bang, mods, options) abort
normal! zt
execute current
setlocal nonumber scrollbind nowrap foldcolumn=0 nofoldenable winfixwidth
if exists('&winfixbuf')
setlocal winfixbuf
endif
if exists('+relativenumber')
setlocal norelativenumber
endif