dsawardekar / wordpress.vim

Vim Plugin for WordPress Development
MIT License
166 stars 17 forks source link

Allow adding custom exclude dirs for tags. #29

Closed LeighBicknell closed 8 years ago

LeighBicknell commented 9 years ago

Maybe something like g:wordpress_tags_exclude_dirs = ['_archive', '_archived']

Great plugin btw.

sudar commented 9 years ago

@FlickerBean

FYI, you can also exclude directories by specifying them in ~/.ctags file.

For example following is the contents of my ~/.ctags file

--exclude=.git
--exclude=.svn
--exclude=dist
--exclude=node_modules
--exclude=vendor
--exclude=*.min.js
LeighBicknell commented 8 years ago

Actually, no I didn't know this, I've always added these into my vimrc mapping to generate tags. Thanks!