mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -04:00
fix(yaml): promql injections block
This commit is contained in:
parent
48b237fd3f
commit
831dbb619e
2 changed files with 9 additions and 2 deletions
|
|
@ -49,7 +49,7 @@
|
|||
value: (block_node
|
||||
(block_scalar) @injection.content
|
||||
(#set! injection.language "promql")
|
||||
(#offset! @injection.content 0 2 0 0)))
|
||||
(#offset! @injection.content 0 1 0 0)))
|
||||
|
||||
(block_mapping_pair
|
||||
key: (flow_node) @_expr (#eq? @_expr "expr")
|
||||
|
|
@ -69,4 +69,4 @@
|
|||
(block_node
|
||||
(block_scalar) @injection.content
|
||||
(#set! injection.language "promql")
|
||||
(#offset! @injection.content 0 2 0 0))))))
|
||||
(#offset! @injection.content 0 1 0 0))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue