Skip to content
Browse files

Make sure meta.rspec.pending is not used for lines ending in 'do'.

Fixes incorrect highlighting of the 'do' keyword (and additional options, if present) as 'string.ruby'.
  • Loading branch information...
1 parent 05075a2 commit be88bb24d71d8d5581526bccbad51f52844f366d @noniq noniq committed Jul 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Syntaxes/RSpec.tmLanguage
View
2 Syntaxes/RSpec.tmLanguage
@@ -157,7 +157,7 @@
</dict>
</dict>
<key>match</key>
- <string>^\s*(it|specify)\s+(.*[^do])\s*$</string>
+ <string>^\s*(it|specify)\s+(.*\S)(?&lt;!do)\s*$</string>
<key>name</key>
<string>meta.rspec.pending</string>
</dict>

0 comments on commit be88bb2

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