mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-07 13:14:30 +08:00
[Tags] Unfold after Tags/BTags (#1133)
This commit is contained in:
@@ -796,7 +796,7 @@ function! s:btags_sink(lines)
|
|||||||
call add(qfl, {'filename': expand('%'), 'lnum': line('.'), 'text': getline('.')})
|
call add(qfl, {'filename': expand('%'), 'lnum': line('.'), 'text': getline('.')})
|
||||||
endfor
|
endfor
|
||||||
call s:fill_quickfix(qfl, 'cfirst')
|
call s:fill_quickfix(qfl, 'cfirst')
|
||||||
normal! zz
|
normal! zvzz
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" query, [[tag commands], options]
|
" query, [[tag commands], options]
|
||||||
@@ -853,7 +853,7 @@ function! s:tags_sink(lines)
|
|||||||
let [&magic, &wrapscan, &acd] = [magic, wrapscan, acd]
|
let [&magic, &wrapscan, &acd] = [magic, wrapscan, acd]
|
||||||
endtry
|
endtry
|
||||||
call s:fill_quickfix(qfl, 'clast')
|
call s:fill_quickfix(qfl, 'clast')
|
||||||
normal! zz
|
normal! zvzz
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! fzf#vim#tags(query, ...)
|
function! fzf#vim#tags(query, ...)
|
||||||
@@ -1362,4 +1362,3 @@ endfunction
|
|||||||
" ------------------------------------------------------------------
|
" ------------------------------------------------------------------
|
||||||
let &cpo = s:cpo_save
|
let &cpo = s:cpo_save
|
||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user