Use Allowed_Flags for any languages

This commit is contained in:
Kirill Klenov 2011-09-22 20:08:29 +04:00
parent fc9f1c8437
commit 349c9f8098
1 changed files with 1 additions and 1 deletions

View File

@ -2274,7 +2274,7 @@ function! s:Tlist_Process_File(filename, ftype)
" Ctags command to produce output with regexp for locating the tags " Ctags command to produce output with regexp for locating the tags
if exists('g:Tlist_{a:ftype}_Ctags_Cmd') if exists('g:Tlist_{a:ftype}_Ctags_Cmd')
let ctags_cmd = g:Tlist_{a:ftype}_Ctags_Cmd let ctags_cmd = g:Tlist_{a:ftype}_Ctags_Cmd
let ctags_args = filter(ctags_args, 'match(g:Tlist_javascript_Ctags_Allowed_Flags, "^".v:key."$") != -1') let ctags_args = filter(ctags_args, 'match(g:Tlist_{a:ftype}_Ctags_Allowed_Flags, "^".v:key."$") != -1')
else else
let ctags_cmd = g:Tlist_Ctags_Cmd let ctags_cmd = g:Tlist_Ctags_Cmd
endif endif