From 1e883d1460d44f90fd991969db996e2365d80272 Mon Sep 17 00:00:00 2001 From: Orabi Barkenobi Date: Sun, 16 Apr 2023 03:46:24 +0200 Subject: [PATCH] add support for jinja-html templates --- package.json | 3 ++- syntaxes/injection.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 22404c9..a5ca681 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,8 @@ "injectTo": [ "text.html.derivative", "text.html.php", - "text.html.twig" + "text.html.twig", + "text.html.jinja" ], "embeddedLanguages": { "meta.embedded.inline.alpinejs": "javascript" diff --git a/syntaxes/injection.json b/syntaxes/injection.json index 04d1ba2..4b36521 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.derivative", "L:text.html.php", "L:text.html.twig", "L:text.html.jinja"], "patterns": [ { "include": "#alpine-directives"