diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index e7efc4f..38d5770 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -663,7 +663,7 @@ function! s:Status() abort try Gpedit : wincmd P - set foldmethod=syntax foldlevel=1 + setlocal foldmethod=syntax foldlevel=1 nnoremap q :bdelete catch /^fugitive:/ return 'echoerr v:errmsg'