From 2014f8285e306f4c8a896c7d3af53fdd599e5a4f Mon Sep 17 00:00:00 2001 From: Matthew Taylor Date: Mon, 18 Mar 2024 05:00:22 -0400 Subject: feat: add vento support (#6261) --- queries/vento/highlights.scm | 13 +++++++++++++ queries/vento/injections.scm | 9 +++++++++ 2 files changed, 22 insertions(+) create mode 100644 queries/vento/highlights.scm create mode 100644 queries/vento/injections.scm (limited to 'queries') diff --git a/queries/vento/highlights.scm b/queries/vento/highlights.scm new file mode 100644 index 000000000..9d35b2f66 --- /dev/null +++ b/queries/vento/highlights.scm @@ -0,0 +1,13 @@ +(comment) @comment @spell + +(keyword) @keyword + +(tag + [ + "{{" + "{{-" + "}}" + "-}}" + ] @punctuation.special) + +"|>" @operator diff --git a/queries/vento/injections.scm b/queries/vento/injections.scm new file mode 100644 index 000000000..66023c7f8 --- /dev/null +++ b/queries/vento/injections.scm @@ -0,0 +1,9 @@ +((comment) @injection.content + (#set! injection.language "comment")) + +((content) @injection.content + (#set! injection.language "html") + (#set! injection.combined)) + +((code) @injection.content + (#set! injection.language "javascript")) -- cgit v1.2.3-70-g09d2