From 349c9f80989afa19533f409cdaee302a702d58fe Mon Sep 17 00:00:00 2001 From: Kirill Klenov Date: Thu, 22 Sep 2011 20:08:29 +0400 Subject: [PATCH] Use Allowed_Flags for any languages --- plugin/taglist-plus.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/taglist-plus.vim b/plugin/taglist-plus.vim index 98f02a2..8a65583 100644 --- a/plugin/taglist-plus.vim +++ b/plugin/taglist-plus.vim @@ -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