aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/eex/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/eex/highlights.scm')
-rw-r--r--runtime/queries/eex/highlights.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/eex/highlights.scm b/runtime/queries/eex/highlights.scm
new file mode 100644
index 00000000..e900a43d
--- /dev/null
+++ b/runtime/queries/eex/highlights.scm
@@ -0,0 +1,6 @@
+; https://github.com/connorlay/tree-sitter-eex/blob/f742f2fe327463335e8671a87c0b9b396905d1d1/queries/highlights.scm
+
+; wrapping in (directive .. ) prevents us from highlighting '%>' in a comment as a keyword
+(directive ["<%" "<%=" "<%%" "<%%=" "%>"] @keyword)
+
+(comment) @comment