Skip to content

Instantly share code, notes, and snippets.

@chase
Forked from jesstelford/.ctags
Last active December 4, 2020 11:52
Show Gist options
  • Save chase/97f3b70799730295fd8f to your computer and use it in GitHub Desktop.
Save chase/97f3b70799730295fd8f to your computer and use it in GitHub Desktop.
--langdef=coffee
--langmap=coffee:.coffee
--regex-coffee=/(^|=[ \t])*class ([A-Za-z]+\.)*([A-Za-z]+)( extends [A-Za-z.]+)?$/\3/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/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment