mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
injections(yaml): inject bash on key "run"
This commit is contained in:
parent
28cc92a2f6
commit
ad615ffc4c
1 changed files with 9 additions and 0 deletions
|
|
@ -1 +1,10 @@
|
|||
(comment) @comment
|
||||
|
||||
(block_mapping_pair
|
||||
key: (flow_node) @_run (#eq? @_run "run")
|
||||
value: (flow_node
|
||||
(plain_scalar) @bash))
|
||||
|
||||
(block_mapping_pair
|
||||
key: (flow_node) @_run (#eq? @_run "run")
|
||||
value: (block_node) @bash (#offset! @bash 0 0 0 0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue