aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/ohm/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/ohm/injections.scm')
-rw-r--r--runtime/queries/ohm/injections.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/queries/ohm/injections.scm b/runtime/queries/ohm/injections.scm
new file mode 100644
index 00000000..dc50a765
--- /dev/null
+++ b/runtime/queries/ohm/injections.scm
@@ -0,0 +1,7 @@
+; See: https://docs.helix-editor.com/guides/injection.html
+
+((singleline_comment) @injection.content
+ (#set! injection.language "comment"))
+
+((multiline_comment) @injection.content
+ (#set! injection.language "comment"))