Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/fish/injections.scm')
| -rw-r--r-- | runtime/queries/fish/injections.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/queries/fish/injections.scm b/runtime/queries/fish/injections.scm index 321c90ad..3378c14a 100644 --- a/runtime/queries/fish/injections.scm +++ b/runtime/queries/fish/injections.scm @@ -1,2 +1,7 @@ ((comment) @injection.content (#set! injection.language "comment")) + +(command + name: (word) @_command (#any-of? @_command "jq" "jaq") + argument: [(double_quote_string) (single_quote_string)] @injection.content + (#set! injection.language "jq")) |