Skip to content

Commit

Permalink
Remove interpolation scope from style/script attributes
Browse files Browse the repository at this point in the history
Inline styles are no string interpolation and thus shouldn't be scoped as such.

related with sublimehq/Packages#4054
  • Loading branch information
deathaxe committed Oct 6, 2024
1 parent e54fe27 commit 279489d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/syntax/HTML (Twig).sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ contexts:
- match: \"
scope: meta.string.html string.quoted.double.html punctuation.definition.string.begin.html
embed: scope:source.css.twig#rule-list-body
embed_scope: meta.string.html meta.interpolation.html source.css.embedded.html
embed_scope: meta.string.html source.css.embedded.html
escape: \"
escape_captures:
0: meta.string.html string.quoted.double.html punctuation.definition.string.end.html
- match: \'
scope: meta.string.html string.quoted.single.html punctuation.definition.string.begin.html
embed: scope:source.css.twig#rule-list-body
embed_scope: meta.string.html meta.interpolation.html source.css.embedded.html
embed_scope: meta.string.html source.css.embedded.html
escape: \'
escape_captures:
0: meta.string.html string.quoted.single.html punctuation.definition.string.end.html
Expand Down

0 comments on commit 279489d

Please sign in to comment.