normal! zz on BTags and Tags

This commit is contained in:
Junegunn Choi
2015-08-29 23:03:33 +09:00
parent eec4a667d8
commit 4d99749294

View File

@@ -337,6 +337,7 @@ function! s:btags_sink(lines)
execute 'silent' cmd '%'
endif
execute split(a:lines[1], "\t")[2]
normal! zz
endfunction
function! s:btags(bang)
@@ -366,6 +367,7 @@ function! s:tags_sink(lines)
let [magic, &magic] = [&magic, 0]
execute excmd
let &magic = magic
normal! zz
endfunction
function! s:tags(bang)