Skip to content

Commit

Permalink
Fix javascript/typescript lang values
Browse files Browse the repository at this point in the history
  • Loading branch information
deathaxe committed Nov 2, 2024
1 parent b9e2e92 commit 436abca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Syntaxes/HTML (Astro).sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ contexts:
- include: script-lang-decider

script-lang-decider:
- match: (?i)(?=js{{unquoted_attribute_break}}|\'js\'|"js")
- match: (?i)(?=(?:js|javascript){{unquoted_attribute_break}}|\'(?:js|javascript)\'|"(?:js|javascript)")
set:
- script-javascript
- tag-lang-attribute-meta
- tag-generic-attribute-value
- match: (?i)(?=ts{{unquoted_attribute_break}}|\'ts\'|"ts")
- match: (?i)(?=(?:ts|typescript){{unquoted_attribute_break}}|\'(?:ts|typescript)\'|"(?:ts|typescript)")
set:
- script-typescript
- tag-lang-attribute-meta
Expand Down

0 comments on commit 436abca

Please sign in to comment.