Files
neovim/runtime/lua/vim
Milad Rashidikhah 20ff82d9fc 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
2026-07-28 11:00:30 +02:00
..
2026-07-27 11:12:47 -04:00
2026-07-25 12:47:51 -04:00
2026-07-25 18:02:55 -05:00
2026-06-08 16:12:14 -04:00
2026-01-09 10:07:15 +01:00
2026-07-20 09:53:06 -04:00
2026-07-13 19:44:15 +02:00
2026-07-25 12:47:51 -04:00
2026-05-30 12:57:24 +02:00
2026-07-13 19:44:15 +02:00