mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-09 12:03:47 -05:00
Don't set global foldlevel
Without this change, Fugitive will routinely overwrite the global foldlevel. It shouldn't.
This commit is contained in:
@@ -663,7 +663,7 @@ function! s:Status() abort
|
|||||||
try
|
try
|
||||||
Gpedit :
|
Gpedit :
|
||||||
wincmd P
|
wincmd P
|
||||||
set foldmethod=syntax foldlevel=1
|
setlocal foldmethod=syntax foldlevel=1
|
||||||
nnoremap <buffer> <silent> q :<C-U>bdelete<CR>
|
nnoremap <buffer> <silent> q :<C-U>bdelete<CR>
|
||||||
catch /^fugitive:/
|
catch /^fugitive:/
|
||||||
return 'echoerr v:errmsg'
|
return 'echoerr v:errmsg'
|
||||||
|
|||||||
Reference in New Issue
Block a user