Don't open folds in diff mode (#269)

Closes #268
This commit is contained in:
spar01 2018-08-05 10:11:25 +00:00 committed by Marco Hinz
parent 73d467ebea
commit 40d1a4ee19

View File

@ -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