mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
injections(yaml): fix injections
This commit is contained in:
parent
e8b765bee1
commit
d2d8980c5c
2 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
|||
(null_scalar) @constant.builtin
|
||||
(double_quote_scalar) @string
|
||||
(single_quote_scalar) @string
|
||||
(block_scalar) @string
|
||||
((block_scalar) @string (#set! "priority" 99))
|
||||
(string_scalar) @string
|
||||
(escape_sequence) @string.escape
|
||||
(integer_scalar) @number
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
(block_mapping_pair
|
||||
key: (flow_node) @_run (#any-of? @_run "run" "script" "before_script" "after_script")
|
||||
value: (block_node
|
||||
(block_scalar) @bash (#offset! @bash 0 0 0 0)))
|
||||
(block_scalar) @bash (#offset! @bash 0 1 0 0)))
|
||||
|
||||
(block_mapping_pair
|
||||
key: (flow_node) @_run (#any-of? @_run "run" "script" "before_script" "after_script")
|
||||
|
|
@ -24,4 +24,4 @@
|
|||
(block_sequence
|
||||
(block_sequence_item
|
||||
(block_node
|
||||
(block_scalar) @bash)))))
|
||||
(block_scalar) @bash (#offset! @bash 0 1 0 0))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue