File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 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
373373let 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
378378let 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
13111318endfunction
13121319
You can’t perform that action at this time.
0 commit comments