Files
neovim/runtime/lua/vim
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-04-25 13:51:22 -04:00
2026-05-07 12:03:02 +02:00
2025-06-06 15:36:48 +01:00
2026-01-09 10:07:15 +01:00
2026-03-11 18:00:18 +01:00
2026-07-05 10:39:22 +00:00