Skip to content

Commit

Permalink
Make sure variable declarations do not get highlighted
Browse files Browse the repository at this point in the history
If you were to do something like ``red = #C80000`` red would get
highlighted as a color.  This makes sure that does not happen.
  • Loading branch information
ccampbell committed Oct 21, 2012
1 parent 33e9bd2 commit c6e3319
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions editors/Stylus.tmbundle/Syntaxes/Stylus.tmLanguage
Expand Up @@ -81,6 +81,12 @@
<key>name</key>
<string>variable.language.stylus</string>
</dict>
<dict>
<key>match</key>
<string>\b(.*)(?=\s*=)</string>
<key>name</key>
<string>variable.language.stylus</string>
</dict>
<dict>
<key>match</key>
<string>@([-\w]+)</string>
Expand Down

0 comments on commit c6e3319

Please sign in to comment.