Enable folding in :Gstatus

This commit is contained in:
Tim Pope committed 2012-04-16 21:56:49 -04:00
1 parent 4fe6e46a0a
commit 15e7672672
1 file changed
+1
+1
View File
@@ -1950,6 +1950,7 @@ function! s:BufReadIndex()
execute cd.'`=dir`' execute cd.'`=dir`'
endtry endtry
set ft=gitcommit set ft=gitcommit
set foldtext=fugitive#foldtext() foldmethod=syntax foldlevel=1
endif endif
setlocal ro noma nomod noswapfile setlocal ro noma nomod noswapfile
if &bufhidden ==# '' if &bufhidden ==# ''