Files
neovim/test/functional
Milad Rashidikhah e37405ea52 fix(treesitter): clamp unbounded fold ranges
Problem:
Tree-sitter uses UINT32_MAX for full-document ranges, which becomes -1 on 32-bit platforms and reaches _foldupdate as an invalid end row.

Solution:
Treat negative changed-range end rows as unbounded and clamp them to the buffer line count. Add a regression test that simulates the 32-bit sentinel.

AI-assisted: Codex
(cherry picked from commit 20ff82d9fc)
2026-07-28 09:22:06 +00:00
..
2026-05-07 12:03:02 +02:00