tagbar-phpctags.vim
tagbar-phpctags.vim copied to clipboard
Remove variables from tagbar
I'd like to remove variables from the tagbar window. It seems that this is possible in plan tagbar ( https://gist.github.com/ecoleman/1525027 ) but this does not work with this tagbar extension.
phpctags provides a --kinds option to control over types of tags output, so inserting proper --kinds flags to 'ctagsargs' section of tagbar-phpctags.vim should suppress any showing of variables. As an example:
let g:tagbar_type_php = {
\ 'ctagsbin' : tagbar_phpctags_bin,
\ 'ctagsargs' : '--kinds=dficpmnt --memory="' . tagbar_phpctags_memory_limit . '" -f -',
...
\ }
The idea is great. I personally see no problem in having the variables there. tagbar is folding them anyway. Is any of you interested in contributing such feature?