mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-10-12 16:10:14 +08:00
1 file changed
+1
-1
@@ -784,7 +784,7 @@ function! s:tags_sink(lines)
|
|||||||
for line in a:lines[1:]
|
for line in a:lines[1:]
|
||||||
try
|
try
|
||||||
let parts = split(line, '\t\zs')
|
let parts = split(line, '\t\zs')
|
||||||
let excmd = matchstr(join(parts[2:-2], '')[:-2], '^.*\ze;"\t')
|
let excmd = matchstr(join(parts[2:-2], '')[:-2], '^.\{-}\ze;\?"\t')
|
||||||
let base = fnamemodify(parts[-1], ':h')
|
let base = fnamemodify(parts[-1], ':h')
|
||||||
let relpath = parts[1][:-2]
|
let relpath = parts[1][:-2]
|
||||||
let abspath = relpath =~ (s:is_win ? '^[A-Z]:\' : '^/') ? relpath : join([base, relpath], '/')
|
let abspath = relpath =~ (s:is_win ? '^[A-Z]:\' : '^/') ? relpath : join([base, relpath], '/')
|
||||||
|
|||||||
Reference in new issue
Block a user