feat(hyprlang): bash injections for exec keybindings

This commit is contained in:
Omar Valdez 2025-01-19 01:57:38 -08:00 committed by Amaan Qureshi
parent 4423f30539
commit 645d14f40f

View file

@ -4,3 +4,18 @@
(exec
(string) @injection.content
(#set! injection.language "bash"))
((keyword
(name) @_bind
(params
.
(_)
.
(_)
.
(string) @_exec
.
(string) @injection.content))
(#lua-match? @_bind "^bind")
(#lua-match? @_exec "^%s*exec%s*$")
(#set! injection.language "bash"))