Skip to content
Browse files

added keywords for state machine DSLs, such as state_machine, event, …

…transition
  • Loading branch information...
1 parent cb96489 commit 3fa062b0345304d99aa3450da113061b8dbb177f @drnic committed Mar 21, 2009
Showing with 8 additions and 0 deletions.
  1. +8 −0 Syntaxes/Ruby.plist
View
8 Syntaxes/Ruby.plist
@@ -259,6 +259,14 @@
<string>keyword.other.special-method.ruby</string>
</dict>
<dict>
+ <key>comment</key>
+ <string>keywords associated with state machine DSLs</string>
+ <key>match</key>
+ <string>\b(state_machine|event|before_transition|after_transition|transition)\b(?![?!])</string>
+ <key>name</key>
+ <string>keyword.other.special-method.state_machine.ruby</string>
+ </dict>
+ <dict>
<key>begin</key>
<string>\b(require)\b</string>
<key>captures</key>

0 comments on commit 3fa062b

Please sign in to comment.
Something went wrong with that request. Please try again.