mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-16 07:13:52 -05:00
Support jump to commit in :Git log --graph
This commit is contained in:
@@ -7478,7 +7478,7 @@ function! s:cfile() abort
|
|||||||
if getline('.') =~# '^ref: '
|
if getline('.') =~# '^ref: '
|
||||||
let ref = strpart(getline('.'),5)
|
let ref = strpart(getline('.'),5)
|
||||||
|
|
||||||
elseif getline('.') =~# '^commit \x\{40,\}\>'
|
elseif getline('.') =~# '^\%([|/\\_ ]*\*[|/\\_ ]*\)\=commit \x\{40,\}\>'
|
||||||
let ref = matchstr(getline('.'),'\x\{40,\}')
|
let ref = matchstr(getline('.'),'\x\{40,\}')
|
||||||
return [ref]
|
return [ref]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user