mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-13 00:20:18 +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`'
|
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 ==# ''
|
||||||
|
|||||||
Reference in new issue
Block a user