lukaszkorecki/CoffeeTags — Issue #8: tags not printed in tagbar  VIM
Author: japrogramer
Created: 2012-02-10 04:06:36+00:00
State: open

hello i em trying to do this and it wont work
when i check if g:tagbar_type_coffee is set, it is
but it wont display any tags ... i ultimately plan to add this code
snipped as a ftplugin ... i have already done so for lushtags
another tagbarplugin and it worked then

au FileType coffee call coffeetags ()
function! coffeetags ()
" Add this type definition to your vimrc
" or do
" coffeetags --vim-conf >>
" if you want your tags to include vars/objects do:
" coffeetags --vim-conf --include-vars
if executable('lushtags')
let g:tagbar_type_coffee = {
\ 'ctagsbin' : 'coffeetags',
\ 'ctagsargs' : ' --include-vars ',
\ 'kinds' : [
\ 'f:functions',
\ 'o:object'
\ ],
\ 'sro' : ".",
\ 'kind2scope' : {
\ 'f' : 'object',
\ 'o' : 'object'
\ },
\ }
endif
endfunction