Skip to content

Instantly share code, notes, and snippets.

@ecoleman
Created December 27, 2011 20:26
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ecoleman/1525027 to your computer and use it in GitHub Desktop.
Save ecoleman/1525027 to your computer and use it in GitHub Desktop.
hide php variables in tagbar.vim
let g:tagbar_type_php = {
\ 'ctagstype' : 'php',
\ 'kinds' : [
\ 'i:interfaces',
\ 'c:classes',
\ 'd:constant definitions',
\ 'f:functions',
\ 'j:javascript functions:1'
\ ]
\ }
@dreki
Copy link

dreki commented Feb 22, 2012

Thank you!!

@gonzaloserrano
Copy link

👍

@tipu
Copy link

tipu commented Mar 10, 2013

DANKE FRIEND

@amorroxic
Copy link

hats off

@arteq
Copy link

arteq commented Dec 28, 2013

thanks, it was really annoying with all that variables messing around.

@3cooper
Copy link

3cooper commented Apr 2, 2014

This isn't working for me. I added this to my .vimrc and when I open tagbar I still see the variables under the file and under each method. Anything I'm missing? I am using the tagbar plugin https://github.com/vim-php/tagbar-phpctags.vim - perhaps it is causing the issue?

@babab
Copy link

babab commented Aug 11, 2015

Thanks for this! It works just fine for me but I'm using it with https://github.com/majutsushi/tagbar

@yuriteixeira
Copy link

😍

@budasuyasa
Copy link

life saver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment