Enable folding in :Gstatus

This commit is contained in:
Tim Pope 2012-04-16 21:56:49 -04:00
parent 4fe6e46a0a
commit 15e7672672

View File

@ -1950,6 +1950,7 @@ function! s:BufReadIndex()
execute cd.'`=dir`'
endtry
set ft=gitcommit
set foldtext=fugitive#foldtext() foldmethod=syntax foldlevel=1
endif
setlocal ro noma nomod noswapfile
if &bufhidden ==# ''