How to display variables in Taglist window in vim
There is a variable s:tlist_def_cpp_settings
in Taglist plugin (.vim/plugin/taglist.vim) that defines which elements are shown by default.
I extended it to:
let s:tlist_def_cpp_settings = 'c++;n:namespace;v:variable;d:macro;t:typedef;' .
\ 'c:class;g:enum;s:struct;u:union;f:function;m:member;' .
\ 'p:prototype'
According to taglist manual you can also define tlist_cpp_settings
in your .vimrc
with similar value.
For other languages different variables exist.