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

View File

@ -2274,7 +2274,7 @@ function! s:Tlist_Process_File(filename, ftype)
" Ctags command to produce output with regexp for locating the tags
if exists('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
let ctags_cmd = g:Tlist_Ctags_Cmd
endif