From e8e497eb838a8f1328898d64708674dffcbbc3e4 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 1 Apr 2012 13:17:13 -0400 Subject: [PATCH] Open fold when jumping to commit from blame --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 5277d86..732a162 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1585,7 +1585,7 @@ function! s:BlameCommit(cmd) abort let offset -= 1 endif endwhile - return '' + return 'if foldlevel(".")|foldopen!|endif' endif endwhile execute head