diff --git a/package.json b/package.json index 22404c9..113f247 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "path": "./syntaxes/injection.json", "scopeName": "html.alpinejs.attribute", "injectTo": [ - "text.html.derivative", + "text.html", "text.html.php", "text.html.twig" ], diff --git a/syntaxes/injection.json b/syntaxes/injection.json index 04d1ba2..d4deb06 100644 --- a/syntaxes/injection.json +++ b/syntaxes/injection.json @@ -1,6 +1,6 @@ { "scopeName": "html.alpinejs.attribute", - "injectionSelector": ["L:text.html.derivative", "L:text.html.php", "L:text.html.twig"], + "injectionSelector": ["L:text.html", "L:text.html.php", "L:text.html.twig"], "patterns": [ { "include": "#alpine-directives"