From 436abcab26d64b3f2bff92ad1ca327716de30b41 Mon Sep 17 00:00:00 2001 From: deathaxe Date: Sat, 2 Nov 2024 13:15:36 +0100 Subject: [PATCH] Fix javascript/typescript lang values --- Syntaxes/HTML (Astro).sublime-syntax | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Syntaxes/HTML (Astro).sublime-syntax b/Syntaxes/HTML (Astro).sublime-syntax index 27693b2..e30e13b 100644 --- a/Syntaxes/HTML (Astro).sublime-syntax +++ b/Syntaxes/HTML (Astro).sublime-syntax @@ -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