Skip to content

Commit

Permalink
Open fold when jumping to commit from blame
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Apr 1, 2012
1 parent e142a27 commit e8e497e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/fugitive.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1585,7 +1585,7 @@ function! s:BlameCommit(cmd) abort
let offset -= 1
endif
endwhile
return ''
return 'if foldlevel(".")|foldopen!|endif'
endif
endwhile
execute head
Expand Down

0 comments on commit e8e497e

Please sign in to comment.