Fix :Gblame width with custom date format

Partially addresses #242.
This commit is contained in:
Tim Pope 2012-08-21 20:47:04 -04:00
parent a0c71a6d4c
commit f5b50f822b

View File

@ -1597,7 +1597,7 @@ function! s:Blame(bang,line1,line2,count,args) abort
execute top
normal! zt
execute current
execute "vertical resize ".(s:linechars('.\{-\}\d\ze\s\+\d\+)')+1)
execute "vertical resize ".(s:linechars('.\{-\}\ze\s\+\d\+)')+1)
setlocal nomodified nomodifiable nonumber scrollbind nowrap foldcolumn=0 nofoldenable filetype=fugitiveblame
if exists('+relativenumber')
setlocal norelativenumber