mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-02-12 21:21:51 +08:00
committed by
Junegunn Choi
parent
c3954d294a
commit
c6275ee108
@@ -390,7 +390,9 @@ function! s:buffer_line_handler(lines)
|
|||||||
endif
|
endif
|
||||||
let qfl = []
|
let qfl = []
|
||||||
for line in a:lines[1:]
|
for line in a:lines[1:]
|
||||||
let [ln, ltxt] = split(line, "\t")
|
let chunks = split(line, "\t", 1)
|
||||||
|
let ln = chunks[0]
|
||||||
|
let ltxt = join(chunks[1:], "\t")
|
||||||
call add(qfl, {'filename': expand('%'), 'lnum': str2nr(ln), 'text': ltxt})
|
call add(qfl, {'filename': expand('%'), 'lnum': str2nr(ln), 'text': ltxt})
|
||||||
endfor
|
endfor
|
||||||
call s:fill_quickfix(qfl, 'cfirst')
|
call s:fill_quickfix(qfl, 'cfirst')
|
||||||
|
|||||||
Reference in New Issue
Block a user