Permalink
Browse files

Adding missing keywords

Signed-off-by: Mikael Henriksson <mikael@zoolutions.se>
  • Loading branch information...
1 parent 83363d9 commit 8772c0022a5bf7f6f936b4b7eda9ec2580aab253 @mhenrixon mhenrixon committed Jul 28, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 RSpec.tmLanguage
View
@@ -11,7 +11,7 @@
(\s*+
(module|class|def
|background|feature|subscribe
- |before|describe|it
+ |before|describe|it|scenario
|unless|if
|case
|begin
@@ -82,7 +82,7 @@
<key>behaviour</key>
<dict>
<key>begin</key>
- <string>^\s*(describe|context)\b</string>
+ <string>^\s*(describe|context|feature)\b</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
@@ -114,7 +114,7 @@
<key>example</key>
<dict>
<key>begin</key>
- <string>^\s*(it|specify)\b</string>
+ <string>^\s*(it|specify|scenario)\b</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
@@ -146,7 +146,7 @@
<key>pending</key>
<dict>
<key>begin</key>
- <string>^\s*(it|specify)\b(?=((?!do|{).)*$)</string>
+ <string>^\s*(it|specify|scenario)\b(?=((?!do|{).)*$)</string>
<key>end</key>
<string>$</string>
<key>beginCaptures</key>
@@ -178,7 +178,7 @@
</dict>
</dict>
<key>match</key>
- <string>^\s*(it|specify)\s*{</string>
+ <string>^\s*(it|specify|scenario)\s*{</string>
</dict>
</dict>
<key>scopeName</key>

0 comments on commit 8772c00

Please sign in to comment.