From 40d1a4ee19ac61ad772dfcedc4d4bd21810f1c0b Mon Sep 17 00:00:00 2001 From: spar01 <42012448+spar01@users.noreply.github.com> Date: Sun, 5 Aug 2018 10:11:25 +0000 Subject: [PATCH] Don't open folds in diff mode (#269) Closes #268 --- autoload/sy/repo.vim | 1 - 1 file changed, 1 deletion(-) diff --git a/autoload/sy/repo.vim b/autoload/sy/repo.vim index f44cf6b..dfb2caf 100644 --- a/autoload/sy/repo.vim +++ b/autoload/sy/repo.vim @@ -267,7 +267,6 @@ function! sy#repo#diffmode() abort set buftype=nofile bufhidden=wipe nomodified let &filetype = ft wincmd p - silent! %foldopen! normal! ]czt endfunction