mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-09 03:53:47 -05:00
Enable folding in :Gstatus
This commit is contained in:
@@ -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