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.scm | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/runtime/queries/ruby/injections.scm b/runtime/queries/ruby/injections.scm index b87ea8cb..1a865df1 100644 --- a/runtime/queries/ruby/injections.scm +++ b/runtime/queries/ruby/injections.scm @@ -6,30 +6,3 @@ (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")) |