aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/bash/injections.scm
blob: 0fddb10ff7801b263d807251bf09d8bb6644e1e1 (plain) (blame)
1
2
3
4
5
6
7
8
((comment) @injection.content
 (#set! injection.language "comment"))

(command
  name: (command_name (word) @_command)
  argument: (raw_string) @injection.content
 (#match? @_command "^[gnm]?awk$")
 (#set! injection.language "awk"))