aboutsummaryrefslogtreecommitdiffstats
path: root/queries/ruby/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/ruby/injections.scm')
-rw-r--r--queries/ruby/injections.scm23
1 files changed, 0 insertions, 23 deletions
diff --git a/queries/ruby/injections.scm b/queries/ruby/injections.scm
deleted file mode 100644
index 12b2c32a5..000000000
--- a/queries/ruby/injections.scm
+++ /dev/null
@@ -1,23 +0,0 @@
-((comment) @injection.content
- (#set! injection.language "comment"))
-
-(heredoc_body
- (heredoc_content) @injection.content
- (heredoc_end) @injection.language
- (#downcase! @injection.language))
-
-(regex
- (string_content) @injection.content
- (#set! injection.language "regex"))
-
-((call
- receiver: (identifier) @_receiver
- method: (identifier) @_method
- arguments: (argument_list
- (pair
- key: (hash_key_symbol)
- value: (string
- (string_content) @injection.content))))
- (#eq? @_receiver "binding")
- (#any-of? @_method "b" "break")
- (#set! injection.self))