Skip to content

Commit

Permalink
Add coffeescript ctags support
Browse files Browse the repository at this point in the history
  • Loading branch information
jgdavey committed Aug 23, 2013
1 parent c805eb7 commit 2c41f71
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .ctags
Expand Up @@ -9,3 +9,9 @@
--regex-ruby=/(^|;)[ \t]*event\(? *:([[:alnum:]_]+)/\2/f,function,aasm_event/
--regex-ruby=/(^|;)[ \t]*event\(? *:([[:alnum:]_]+)/\2!/f,function,aasm_event/
--regex-ruby=/(^|;)[ \t]*event\(? *:([[:alnum:]_]+)/\2?/f,function,aasm_event/

--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/

0 comments on commit 2c41f71

Please sign in to comment.