aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/ruby/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/ruby/injections.scm')
-rw-r--r--runtime/queries/ruby/injections.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/ruby/injections.scm b/runtime/queries/ruby/injections.scm
index 321c90ad..1a865df1 100644
--- a/runtime/queries/ruby/injections.scm
+++ b/runtime/queries/ruby/injections.scm
@@ -1,2 +1,8 @@
((comment) @injection.content
(#set! injection.language "comment"))
+
+((heredoc_body
+ (heredoc_content) @injection.content
+ (heredoc_end) @name
+ (#set! injection.language "sql"))
+ (#eq? @name "SQL"))