Skip to content

Conversation

@jordanschalm
Copy link

  • Changed the script tag regex so that open and closing parens are also highlighted, they were treated as regular text before.
  • Added highlighting support for if/else statements that aren't part of an embedded javascript section
  • Changed the highlighting of .something classes and #something-else IDs so that it is consistent with the built-in CSS highlighting rules (classes are treated as entities and IDs are treated as variables, which isn't really very descriptive but is far more useful when trying to see what's going on at a glance)

@tjholowaychuk

…id tags to have the same highlighting as the standard css tm-bundle, and made a few changes to the highlighting of the script tag: now the parens are highlighted as well
* Fixed issue where equals character in script tags wouldn't highlight properly
* Added support for javascript highlighting following top-level if/else statements
* Added support for highlighting variable references of the form =someVariable or !=someUnescapedVariable within tag parens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant