xolox / vim-easytags

Automated tag file generation and syntax highlighting of tags in Vim
http://peterodding.com/code/vim/easytags/
1.01k stars 109 forks source link

Can I generate tags for defined file types only? #149

Open itonohito opened 7 years ago

itonohito commented 7 years ago

Hi! Sorry for bothering with possibly newbe question, but is it's possible to create (and use) tags file for defined on .vimrc list of filetypes only? I'd like to have tags for python, php, c etc but I don't need it for system configuration files, bash scripts and so on.

My current easytags config: set cpoptions+=d set tags=./.tags;,~/.vim/.vimtags let g:easytags_file = '~/.vim/.vimtags' let g:easytags_async = 1⋅ let g:easytags_dynamic_files = 2 " create and use local tag files instead of global one let g:easytags_events = ['BufReadPost', 'BufWritePost'] " Update tags on read and save only let g:easytags_resolve_links = 1