helix-mirror/runtime/queries/bash/injections.scm

8 lines
232 B
Scheme
Raw Normal View History

((comment) @injection.content
(#set! injection.language "comment"))
2022-08-24 20:58:15 +04:00
(command
name: (command_name (word) @_command)
argument: (raw_string) @injection.content
(#match? @_command "^[gnm]?awk$")
(#set! injection.language "awk"))