From 7fb78df4d8df1c8008387d32982bd47aab08c24f Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Sat, 25 Apr 2020 20:32:29 -0700 Subject: [PATCH] commit version 1.96 (released on Jan 13, 2003) --- plugin/taglist.vim | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/plugin/taglist.vim b/plugin/taglist.vim index f3a73db..6b53836 100644 --- a/plugin/taglist.vim +++ b/plugin/taglist.vim @@ -1,7 +1,7 @@ " File: taglist.vim " Author: Yegappan Lakshmanan (yegappan AT yahoo DOT com) -" Version: l.95 -" Last Modified: Jan 5, 2003 +" Version: l.96 +" Last Modified: Jan 13, 2003 " " Overview " -------- @@ -371,8 +371,8 @@ let s:tlist_slang_tag_types = 'namespace function' " sql language let s:tlist_sql_ctags_args = '--language-force=sql --sql-types=cfFlPprstTv' -let s:tlist_sql_tag_types = 'cursor function record_field local_variable ' . - \ 'package procedure record subtype table trigger variable' +let s:tlist_sql_tag_types = 'cursor function field local package procedure ' . + \ 'record subtype table trigger variable' " tcl language let s:tlist_tcl_ctags_args = '--language-force=tcl --tcl-types=p' @@ -1307,6 +1307,13 @@ function! s:Tlist_Jump_To_Tag(new_window) " Bring the line to the middle of the window normal! z. + " If the line is inside a fold, open the fold + if has('folding') + if foldlevel('.') != 0 + normal zo + endif + endif + let s:Tlist_Skip_Refresh = 0 endfunction