mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-07 20:54:39 +08:00
Enable folding in :Gstatus
This commit is contained in:
1 parent
4fe6e46a0a
commit
15e7672672
1 file changed
+1
@@ -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 ==# ''
|
||||
|
||||
Reference in new issue
Block a user