1
0
mirror of https://github.com/helix-editor/helix.git synced 2024-12-24 08:51:55 +04:00
helix-mirror/runtime/queries/bash/injections.scm

12 lines
300 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"))
((regex) @injection.content
(#set! injection.language "regex"))