Skip to content

Commit

Permalink
Properly highlight HTML attribute names
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Wood committed Apr 20, 2015
1 parent 7799fb8 commit 77e3962
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions syntax/CJSX.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,21 @@
</dict>
</array>
</dict>
<key>jsx-tag-attribute-name</key>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>entity.other.attribute-name.html</string>
</dict>
</dict>
<key>match</key>
<string>\b([a-zA-Z\-:]+)</string>
<key>name</key>
<string>meta.tag.attribute-name.html</string>
</dict>
<key>jsx-tag-attributes</key>
<dict>
<key>patterns</key>
Expand Down

0 comments on commit 77e3962

Please sign in to comment.