helix-mods/runtime/queries/bash/injections.scm
2022-08-24 11:58:15 -05:00

8 lines
232 B
Scheme

((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"))