Skip to content

Commit

Permalink
[HTML] Restore backwards compat with syntaxes referencing "scope:text…
Browse files Browse the repository at this point in the history
….html.basic#tag-stuff"
  • Loading branch information
wbond committed Dec 1, 2017
1 parent 86bdc54 commit b85a691
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion HTML/HTML.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ contexts:
push:
- tag-generic-attribute-meta
- tag-generic-attribute-equals

- match: '[a-zA-Z0-9:\-_.]+'
scope: entity.other.attribute-name.html

Expand Down Expand Up @@ -472,6 +472,10 @@ contexts:
0: string.quoted.single punctuation.definition.string.end.html
- include: else-pop

# This is to prevent breaking syntaxes referencing the old context name
tag-stuff:
- include: tag-attributes

tag-attributes:
- include: tag-id-attribute
- include: tag-class-attribute
Expand Down

0 comments on commit b85a691

Please sign in to comment.