Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/ruby/injections.scm')
-rw-r--r--runtime/queries/ruby/injections.scm35
1 files changed, 0 insertions, 35 deletions
diff --git a/runtime/queries/ruby/injections.scm b/runtime/queries/ruby/injections.scm
deleted file mode 100644
index b87ea8cb..00000000
--- a/runtime/queries/ruby/injections.scm
+++ /dev/null
@@ -1,35 +0,0 @@
-((comment) @injection.content
- (#set! injection.language "comment"))
-
-((heredoc_body
- (heredoc_content) @injection.content
- (heredoc_end) @name
- (#set! injection.language "sql"))
- (#eq? @name "SQL"))
-
-((heredoc_body
- (heredoc_content) @injection.content
- (heredoc_end) @name
- (#set! injection.language "graphql"))
- (#any-of? @name
- "GQL"
- "GRAPHQL"))
-
-((heredoc_body
- (heredoc_content) @injection.content
- (heredoc_end) @name
- (#set! injection.language "erb"))
- (#eq? @name "ERB"))
-
-; `<command>`
-; %x{<command>}
-(subshell
- (string_content) @injection.content
- (#set! injection.language "bash"))
-
-(call
- method: (identifier) @_method (#any-of? @_method "system" "spawn" "exec")
- arguments: (argument_list
- (string
- (string_content) @injection.content))
- (#set! injection.language "bash"))