motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit ea18a6a89bc2ade1a99cf837ab74fe4ba3f457c9 (tree)
parent 61fac2f738306119ddc0052de3da031777c855e0
Author: Mikkel Høgh <mikkel@hoegh.org>
Date:   Sat, 14 Sep 2013 14:37:03 +0200

Don't set global foldlevel

Without this change, Fugitive will routinely overwrite the global foldlevel. It shouldn't.

Diffstat:
Mplugin/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 <buffer> <silent> q :<C-U>bdelete<CR> catch /^fugitive:/ return 'echoerr v:errmsg'