Skip to content
Browse files

Merge pull request #32 from mhenrixon/master

Adding missing keywords
  • Loading branch information...
2 parents 83363d9 + 8772c00 commit 761dff69e45624d32a9ff86fec6cb7de88fca176 Greg Williams committed
Showing with 5 additions and 5 deletions.
  1. +5 −5 RSpec.tmLanguage
View
10 RSpec.tmLanguage
@@ -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 761dff6

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