mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-18 01:39:00 +00:00
feat(hyprlang): bash injection for hypridle variables
This commit is contained in:
committed by
Amaan Qureshi
parent
87b1f25098
commit
1c77042243
@@ -19,3 +19,11 @@
|
||||
(#lua-match? @_bind "^bind")
|
||||
(#lua-match? @_exec "^%s*exec%s*$")
|
||||
(#set! injection.language "bash"))
|
||||
|
||||
((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"))
|
||||
|
||||
Reference in New Issue
Block a user