Skip to content

Instantly share code, notes, and snippets.

@jasonm23
Forked from rosenfeld/.ctags
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonm23/0e4066a21b5ad8ed4ab8 to your computer and use it in GitHub Desktop.
Save jasonm23/0e4066a21b5ad8ed4ab8 to your computer and use it in GitHub Desktop.
--langdef=CoffeeScript
--langmap=CoffeeScript:.coffee
--regex-CoffeeScript=/(^|=[ \t])*class ([A-Za-z.]+)( extends [A-Za-z.]+)?$/\2/c,class/
--regex-CoffeeScript=/^[ \t]*@?([A-Za-z.]+):.*[-=]>.*$/\1/f,function/
--regex-CoffeeScript=/^[ \t]*([A-Za-z.]+)[ \t]+=.*[-=]>.*$/\1/f,function/
--regex-CoffeeScript=/^[ \t]*([A-Za-z.]+)[ \t]+=[^-=>\n]*$/\1/v,variable/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment