Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix "pending" highlighting

  • Loading branch information...
commit 6779c8184f9a8bd5497a333d61b6958e9a1dfe2f 1 parent 1b0e38f
@jarhart jarhart authored
Showing with 11 additions and 7 deletions.
  1. +11 −7 RSpec.tmLanguage
View
18 RSpec.tmLanguage
@@ -143,21 +143,25 @@
</dict>
<key>pending</key>
<dict>
- <key>captures</key>
+ <key>begin</key>
+ <string>^\s*(it|specify)\b(?=((?!do|{).)*$)</string>
+ <key>end</key>
+ <string>$</string>
+ <key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.other.rspec.pending</string>
</dict>
- <key>2</key>
+ </dict>
+ <key>patterns</key>
+ <array>
<dict>
- <key>name</key>
- <string>string.ruby</string>
+ <key>include</key>
+ <string>source.ruby</string>
</dict>
- </dict>
- <key>match</key>
- <string>^\s*(it|specify)\s+(.*[^do])\s*$</string>
+ </array>
<key>name</key>
<string>meta.rspec.pending</string>
</dict>
Please sign in to comment.
Something went wrong with that request. Please try again.