2024-06-07 21:33:49 -07:00
|
|
|
((comment) @injection.content
|
|
|
|
|
(#set! injection.language "comment"))
|
|
|
|
|
|
2024-03-16 16:26:52 +03:00
|
|
|
(exec
|
|
|
|
|
(string) @injection.content
|
|
|
|
|
(#set! injection.language "bash"))
|
2025-01-19 01:57:38 -08:00
|
|
|
|
|
|
|
|
((keyword
|
|
|
|
|
(name) @_bind
|
|
|
|
|
(params
|
|
|
|
|
.
|
|
|
|
|
(_)
|
|
|
|
|
.
|
|
|
|
|
(_)
|
|
|
|
|
.
|
2025-02-01 19:46:36 -08:00
|
|
|
(_)?
|
|
|
|
|
.
|
2025-01-19 01:57:38 -08:00
|
|
|
(string) @_exec
|
|
|
|
|
.
|
|
|
|
|
(string) @injection.content))
|
|
|
|
|
(#lua-match? @_bind "^bind")
|
|
|
|
|
(#lua-match? @_exec "^%s*exec%s*$")
|
|
|
|
|
(#set! injection.language "bash"))
|
2025-01-19 18:07:07 -08:00
|
|
|
|
|
|
|
|
((assignment
|
|
|
|
|
(name) @_name
|
|
|
|
|
(string) @injection.content)
|
|
|
|
|
(#any-of? @_name
|
|
|
|
|
"lock_cmd" "unlock_cmd" "before_sleep_cmd" "after_sleep_cmd" "on-timeout" "on-resume"
|
|
|
|
|
"reload_cmd")
|
|
|
|
|
(#set! injection.language "bash"))
|