summaryrefslogtreecommitdiff
path: root/runtime/queries/twig/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/twig/highlights.scm')
-rw-r--r--runtime/queries/twig/highlights.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/queries/twig/highlights.scm b/runtime/queries/twig/highlights.scm
new file mode 100644
index 00000000..2c95ab63
--- /dev/null
+++ b/runtime/queries/twig/highlights.scm
@@ -0,0 +1,16 @@
+(comment_directive) @comment
+
+[
+ "{%"
+ "{%-"
+ "{%~"
+ "%}"
+ "-%}"
+ "~%}"
+ "{{"
+ "{{-"
+ "{{~"
+ "}}"
+ "-}}"
+ "~}}"
+] @keyword