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

8 lines
232 B
Scheme
Raw Normal View History

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