mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20:04 -04:00
injections(yaml): inject at command list for Gitlab script
This commit is contained in:
parent
71cfcff510
commit
4d552d9fda
1 changed files with 8 additions and 0 deletions
|
|
@ -17,3 +17,11 @@
|
||||||
(block_sequence
|
(block_sequence
|
||||||
(block_sequence_item
|
(block_sequence_item
|
||||||
(flow_node) @bash))))
|
(flow_node) @bash))))
|
||||||
|
|
||||||
|
(block_mapping_pair
|
||||||
|
key: (flow_node) @_run (#any-of? @_run "script" "before_script" "after_script")
|
||||||
|
value: (block_node
|
||||||
|
(block_sequence
|
||||||
|
(block_sequence_item
|
||||||
|
(block_node
|
||||||
|
(block_scalar) @bash)))))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue