Fix substitute in jump to file
This commit is contained in:
parent
79f4a49a94
commit
c9b26e20d3
@ -2957,9 +2957,9 @@ function! s:cfile() abort
|
||||
let prefixes.a = myhash.'^:'
|
||||
let prefixes.b = myhash.':'
|
||||
endif
|
||||
let ref = s:sub(ref, '^(\w)/', 'get(prefixes, submatch(1), "HEAD:")')
|
||||
let ref = s:sub(ref, '^(\w)/', '\=get(prefixes, submatch(1), "HEAD:")')
|
||||
if exists('dref')
|
||||
let dref = s:sub(dref, '^(\w)/', 'get(prefixes, submatch(1), "HEAD:")')
|
||||
let dref = s:sub(dref, '^(\w)/', '\=get(prefixes, submatch(1), "HEAD:")')
|
||||
endif
|
||||
|
||||
if ref ==# '/dev/null'
|
||||
|
Loading…
Reference in New Issue
Block a user