aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/erlang/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/erlang/injections.scm')
-rw-r--r--runtime/queries/erlang/injections.scm9
1 files changed, 7 insertions, 2 deletions
diff --git a/runtime/queries/erlang/injections.scm b/runtime/queries/erlang/injections.scm
index 07858185..11cbd01e 100644
--- a/runtime/queries/erlang/injections.scm
+++ b/runtime/queries/erlang/injections.scm
@@ -1,2 +1,7 @@
-((comment_content) @injection.content
- (#set! injection.language "edoc"))
+((line_comment (comment_content) @injection.content)
+ (#set! injection.language "edoc")
+ (#set! injection.include-children)
+ (#set! injection.combined))
+
+((comment (comment_content) @injection.content)
+ (#set! injection.language "comment"))