Skip to content

Commit 7fb78df

Browse files
committed
commit version 1.96 (released on Jan 13, 2003)
1 parent e2a061b commit 7fb78df

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

plugin/taglist.vim

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" File: taglist.vim
22
" Author: Yegappan Lakshmanan (yegappan AT yahoo DOT com)
3-
" Version: l.95
4-
" Last Modified: Jan 5, 2003
3+
" Version: l.96
4+
" Last Modified: Jan 13, 2003
55
"
66
" Overview
77
" --------
@@ -371,8 +371,8 @@ let s:tlist_slang_tag_types = 'namespace function'
371371

372372
" sql language
373373
let s:tlist_sql_ctags_args = '--language-force=sql --sql-types=cfFlPprstTv'
374-
let s:tlist_sql_tag_types = 'cursor function record_field local_variable ' .
375-
\ 'package procedure record subtype table trigger variable'
374+
let s:tlist_sql_tag_types = 'cursor function field local package procedure ' .
375+
\ 'record subtype table trigger variable'
376376

377377
" tcl language
378378
let s:tlist_tcl_ctags_args = '--language-force=tcl --tcl-types=p'
@@ -1307,6 +1307,13 @@ function! s:Tlist_Jump_To_Tag(new_window)
13071307
" Bring the line to the middle of the window
13081308
normal! z.
13091309

1310+
" If the line is inside a fold, open the fold
1311+
if has('folding')
1312+
if foldlevel('.') != 0
1313+
normal zo
1314+
endif
1315+
endif
1316+
13101317
let s:Tlist_Skip_Refresh = 0
13111318
endfunction
13121319

0 commit comments

Comments
 (0)