injections(yaml): inject bash on key "run"

This commit is contained in:
Stephan Seitz 2021-11-27 12:52:45 +01:00
parent 28cc92a2f6
commit ad615ffc4c

View file

@ -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))