Skip to content

Instantly share code, notes, and snippets.

@empiricalthought
Created March 4, 2013 21:47
Show Gist options
  • Save empiricalthought/5085975 to your computer and use it in GitHub Desktop.
Save empiricalthought/5085975 to your computer and use it in GitHub Desktop.
Exuberant CTags configuration for CoffeeScript and Python
--langdef=coffee
--langmap=coffee:+.coffee
--regex-coffee=/(^|=[ \t])*class ([A-Za-z.]+)( extends [A-Za-z.]+)?$/\2/c,class/
--regex-coffee=/^[ \t]*(module\.)?(exports\.)?@?([A-Za-z.]+):.*[-=]>.*$/\3/f,function/
--regex-coffee=/^[ \t]*(module\.)?(exports\.)?([A-Za-z.]+)[ \t]+=.*[-=]>.*$/\3/f,function/
--regex-coffee=/^[ \t]*([A-Za-z.]+)[ \t]+=[^->\n]*$/\1/v,variable/
--languages=coffee,python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment