mirror of
https://github.com/neovim/neovim.git
synced 2025-09-10 13:28:19 +00:00

This partially reverts0b8a72b739
, that is unreverts15e77a56b7
"priority" is an internal neovim concept which does not occur in shared queries. Ideally a single priority space should eventually be enough for our needs. But as we don't want to poke at the usages of priorities right now in the wider ecosystem, introduce the "subpriorities" so that treesitter code can distinguish highlights of the same priorities with different tree nesting depth. This mainly affects `injection.combined` as parent-tree nodes might appear in the middle of child-tree nodes which otherwise is not possible.