From f5c4671bfbad96bf346bd7e9a21fc4317b4959df Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sat, 3 Dec 2022 17:00:20 +0530 Subject: Adds most of the tools --- .../runtime/queries/twig/highlights.scm | 16 ++++++++++++++++ .../runtime/queries/twig/injections.scm | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 helix-22.03-x86_64-windows/runtime/queries/twig/highlights.scm create mode 100644 helix-22.03-x86_64-windows/runtime/queries/twig/injections.scm (limited to 'helix-22.03-x86_64-windows/runtime/queries/twig') diff --git a/helix-22.03-x86_64-windows/runtime/queries/twig/highlights.scm b/helix-22.03-x86_64-windows/runtime/queries/twig/highlights.scm new file mode 100644 index 0000000..2c95ab6 --- /dev/null +++ b/helix-22.03-x86_64-windows/runtime/queries/twig/highlights.scm @@ -0,0 +1,16 @@ +(comment_directive) @comment + +[ + "{%" + "{%-" + "{%~" + "%}" + "-%}" + "~%}" + "{{" + "{{-" + "{{~" + "}}" + "-}}" + "~}}" +] @keyword diff --git a/helix-22.03-x86_64-windows/runtime/queries/twig/injections.scm b/helix-22.03-x86_64-windows/runtime/queries/twig/injections.scm new file mode 100644 index 0000000..f082273 --- /dev/null +++ b/helix-22.03-x86_64-windows/runtime/queries/twig/injections.scm @@ -0,0 +1,3 @@ +((content) @injection.content + (#set! injection.language "html") + (#set! injection.combined)) -- cgit v1.2.3