Skip to content

Commit

Permalink
Moved first-child to pseudo-classes and added a bunch of the other va…
Browse files Browse the repository at this point in the history
…lid pseudo-classes
  • Loading branch information
ianstormtaylor committed Jan 18, 2012
1 parent d0d5a8c commit 6ae6655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editors/Stylus.tmbundle/Syntaxes/Stylus.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</dict>
</dict>
<key>match</key>
<string>(:+)\b(after|before|first-child|first-letter|first-line|selection)\b</string>
<string>(:+)\b(after|before|first-letter|first-line|selection)\b</string>
<key>name</key>
<string>entity.other.attribute-name.pseudo-element.stylus</string>
</dict>
Expand All @@ -67,7 +67,7 @@
</dict>
</dict>
<key>match</key>
<string>(:)\b(active|hover|link|visited|focus)\b</string>
<string>(:)\b(active|hover|link|visited|focus|lang|first-child|last-child|only-child|nth-child|first-of-type|last-of-type|nth-of-type|nth-last-of-type|only-of-type|empty|target|enabled|disabled|checked|root|not)\b</string>
<key>name</key>
<string>entity.other.attribute-name.pseudo-class.stylus</string>
</dict>
Expand Down

0 comments on commit 6ae6655

Please sign in to comment.