mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 20:54:28 +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('.')})
|
||||
endfor
|
||||
call s:fill_quickfix(qfl, 'cfirst')
|
||||
normal! zz
|
||||
normal! zvzz
|
||||
endfunction
|
||||
|
||||
" query, [[tag commands], options]
|
||||
@@ -853,7 +853,7 @@ function! s:tags_sink(lines)
|
||||
let [&magic, &wrapscan, &acd] = [magic, wrapscan, acd]
|
||||
endtry
|
||||
call s:fill_quickfix(qfl, 'clast')
|
||||
normal! zz
|
||||
normal! zvzz
|
||||
endfunction
|
||||
|
||||
function! fzf#vim#tags(query, ...)
|
||||
@@ -1362,4 +1362,3 @@ endfunction
|
||||
" ------------------------------------------------------------------
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
|
||||
Reference in New Issue
Block a user