From 0fe8e198a3a501b54dbc4f9587526c097599f95a Mon Sep 17 00:00:00 2001 From: Denis Cornehl Date: Sun, 4 Oct 2020 12:42:58 +0200 Subject: [PATCH] [Tags] Unfold after Tags/BTags (#1133) --- autoload/fzf/vim.vim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/autoload/fzf/vim.vim b/autoload/fzf/vim.vim index a66317d..60e6505 100644 --- a/autoload/fzf/vim.vim +++ b/autoload/fzf/vim.vim @@ -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 -