mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-07 20:54:39 +08:00
1 parent
09743e76a0
commit
9afeebf32e
1 file changed
+3
@@ -2500,6 +2500,9 @@ function! fugitive#foldtext() abort
|
||||
if filename ==# ''
|
||||
let filename = matchstr(getline(v:foldstart), '^diff .\{-\} a/\zs.*\ze b/')
|
||||
endif
|
||||
if filename ==# ''
|
||||
let filename = getline(v:foldstart)[5:-1]
|
||||
endif
|
||||
if exists('binary')
|
||||
return 'Binary: '.filename
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user