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 | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/runtime/queries/ruby/injections.scm b/runtime/queries/ruby/injections.scm index b87ea8cb..321c90ad 100644 --- a/runtime/queries/ruby/injections.scm +++ b/runtime/queries/ruby/injections.scm @@ -1,35 +1,2 @@ ((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")) |