From 15e7672672c69827ab0200ce04b59e2f3c00b4ed Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 16 Apr 2012 21:56:49 -0400 Subject: [PATCH] Enable folding in :Gstatus --- plugin/fugitive.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 1c14312..fe7d96e 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -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 ==# ''