Don't set global foldlevel
Without this change, Fugitive will routinely overwrite the global foldlevel. It shouldn't.
This commit is contained in:
parent
61fac2f738
commit
ea18a6a89b
@ -663,7 +663,7 @@ function! s:Status() abort
|
||||
try
|
||||
Gpedit :
|
||||
wincmd P
|
||||
set foldmethod=syntax foldlevel=1
|
||||
setlocal foldmethod=syntax foldlevel=1
|
||||
nnoremap <buffer> <silent> q :<C-U>bdelete<CR>
|
||||
catch /^fugitive:/
|
||||
return 'echoerr v:errmsg'
|
||||
|
Loading…
Reference in New Issue
Block a user