diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2025-04-13 14:22:17 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-13 14:22:17 -0700 |
| commit | 0977f70f4dd3d14175697d5e6568d4019019506f (patch) | |
| tree | c93eed86602cae75fbc84e1c30326a1af38b84b8 /test/functional/api/command_spec.lua | |
| parent | ee3f9a1e03a93ab2a75a6f7a2f3bb2f4c6b4e736 (diff) | |
| download | rneovim-0977f70f4dd3d14175697d5e6568d4019019506f.tar.gz rneovim-0977f70f4dd3d14175697d5e6568d4019019506f.tar.bz2 rneovim-0977f70f4dd3d14175697d5e6568d4019019506f.zip | |
fix(treesitter): injected lang ranges may cross capture boundaries #32549
Problem:
treesitter injected language ranges sometimes cross over the capture
boundaries when `@combined`.
Solution:
Clip child regions to not spill out of parent regions within
languagetree.lua, and only apply highlights within those regions in
highlighter.lua.
Co-authored-by: Cormac Relf <web@cormacrelf.net>
Diffstat (limited to 'test/functional/api/command_spec.lua')
0 files changed, 0 insertions, 0 deletions