[Tags] Unfold after Tags/BTags (#1133)

This commit is contained in:
Denis Cornehl
2020-10-04 12:42:58 +02:00
committed by GitHub
parent 3348aef05d
commit 0fe8e198a3

View File

@@ -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