Skip to content

Instantly share code, notes, and snippets.

@ianmacartney
Forked from lukaszkorecki/tagbar-info.markdown
Last active August 29, 2015 14:13
Show Gist options
  • Save ianmacartney/fee3461e457e0dee00ba to your computer and use it in GitHub Desktop.
Save ianmacartney/fee3461e457e0dee00ba to your computer and use it in GitHub Desktop.

How to use CoffeeTags (min 0.0.2.0) with TagBar

Config types

CoffeeTags can work in 2 modes:

  • tags only for functions (default)
  • tags for functions and objects containing them

Second mode is activated by adding --include-vars to command line arguments

CoffeeTags + TagBar + Vim

CoffeeTags no longer requires modification of the .vimrc or creation of ftplugin files. It should work out of the box, presuming your filetype is set correctly. If it doesn't work and :set filetype? retuns something other than filetype=coffee, you can put this in your .vimrc:

autocmd BufNewFile,BufRead *.coffee setfiletype coffee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment