diff --git a/queries/bash/injections.scm b/queries/bash/injections.scm index 2f385bfdc..328630808 100644 --- a/queries/bash/injections.scm +++ b/queries/bash/injections.scm @@ -65,3 +65,15 @@ (#eq? @_command "printf") (#eq? @_arg "--") (#set! injection.language "printf")) + +((command + name: (command_name) @_command + . + argument: [ + (string) + (raw_string) + ] @injection.content) + (#eq? @_command "bind") + (#offset! @injection.content 0 1 0 -1) + (#set! injection.include-children) + (#set! injection.language "readline"))