mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 13:23:52 -05:00
@@ -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