diff options
| author | bfredl <bjorn.linse@gmail.com> | 2025-09-03 13:11:39 +0200 |
|---|---|---|
| committer | bfredl <bjorn.linse@gmail.com> | 2025-09-09 12:56:49 +0200 |
| commit | 5119c03be7a9d440ae1ab027c3879d2ad7e71bba (patch) | |
| tree | 6ffbe2d2683c76a4e17747a5eab71634f01f6e0d /runtime/syntax/python.vim | |
| parent | f9d2115a359c7846056bb2eb31f9eae818c6d510 (diff) | |
fix(treesitter): use subpriorities for tree ordering
This partially reverts 0b8a72b73934d33a05e20c255298e88cd921df32,
that is unreverts 15e77a56b711102fdc123e15b3f37d49bc0b1df1
"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.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions
