Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…transition
  • Loading branch information...
commit 3fa062b0345304d99aa3450da113061b8dbb177f 1 parent cb96489
@drnic authored
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>
Please sign in to comment.
Something went wrong with that request. Please try again.