aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/vento/highlights.scm13
-rw-r--r--queries/vento/injections.scm9
2 files changed, 22 insertions, 0 deletions
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"))