Skip to content

Instantly share code, notes, and snippets.

@rosenfeld
Last active January 12, 2018 00:50
Show Gist options
  • Save rosenfeld/2405554 to your computer and use it in GitHub Desktop.
Save rosenfeld/2405554 to your computer and use it in GitHub Desktop.
CoffeeScript support for exuberant-ctags
--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/
@rosenfeld
Copy link
Author

Hi @jasonm23, yes, I think you're right.

@alexlson, thanks for the pointer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment