mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-10 23:29:19 +08:00
Open fold when jumping to commit from blame
This commit is contained in:
1 parent
e142a27ab8
commit
e8e497eb83
1 file changed
+1
-1
+1
-1
@@ -1585,7 +1585,7 @@ function! s:BlameCommit(cmd) abort
|
|||||||
let offset -= 1
|
let offset -= 1
|
||||||
endif
|
endif
|
||||||
endwhile
|
endwhile
|
||||||
return ''
|
return 'if foldlevel(".")|foldopen!|endif'
|
||||||
endif
|
endif
|
||||||
endwhile
|
endwhile
|
||||||
execute head
|
execute head
|
||||||
|
|||||||
Reference in new issue
Block a user