mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-10 14:31:53 +08:00
@@ -381,7 +381,7 @@ endfunction
|
|||||||
" ------------------------------------------------------------------
|
" ------------------------------------------------------------------
|
||||||
function! s:ag_to_qf(line)
|
function! s:ag_to_qf(line)
|
||||||
let parts = split(a:line, ':')
|
let parts = split(a:line, ':')
|
||||||
return {'filename': parts[0], 'lnum': parts[1], 'col': parts[2],
|
return {'filename': &acd ? fnamemodify(parts[0], ':p') : parts[0], 'lnum': parts[1], 'col': parts[2],
|
||||||
\ 'text': join(parts[3:], ':')}
|
\ 'text': join(parts[3:], ':')}
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user