aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/erb
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/erb')
-rw-r--r--runtime/queries/erb/highlights.scm1
-rw-r--r--runtime/queries/erb/injections.scm7
2 files changed, 8 insertions, 0 deletions
diff --git a/runtime/queries/erb/highlights.scm b/runtime/queries/erb/highlights.scm
new file mode 100644
index 00000000..38830615
--- /dev/null
+++ b/runtime/queries/erb/highlights.scm
@@ -0,0 +1 @@
+; inherits: ejs
diff --git a/runtime/queries/erb/injections.scm b/runtime/queries/erb/injections.scm
new file mode 100644
index 00000000..2824f7a0
--- /dev/null
+++ b/runtime/queries/erb/injections.scm
@@ -0,0 +1,7 @@
+((content) @injection.content
+ (#set! injection.language "html")
+ (#set! injection.combined))
+
+((code) @injection.content
+ (#set! injection.language "ruby")
+ (#set! injection.combined))