Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@noniq
Owner

Fixes incorrect highlighting of the 'do' keyword (and additional options, if present) as 'string.ruby'.

@noniq noniq 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'.
be88bb2
@justinko justinko merged commit a104d87 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 14, 2012
  1. @noniq

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

    noniq authored
    Fixes incorrect highlighting of the 'do' keyword (and additional options, if present) as 'string.ruby'.
This page is out of date. Refresh to see the latest.
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>
Something went wrong with that request. Please try again.