Files
neovim/runtime/lua/vim
Luis Calle 416f3482e7 fix(vim.range): empty ranges semantics vs regular ranges #39474
Problem:
- Empty ranges have different `<`, `<=`, `has` and `intersect` semantics compared to regular ranges.
- `to_inclusive_pos` assumes that the end position of a range is exclusive, which is not true for empty ranges

Solution:
Special case empty ranges in these operations.
2026-05-08 05:17:00 -04:00
..
2026-04-30 07:26:40 -04:00
2026-05-07 10:36:48 +02:00
2026-04-25 11:16:18 -04:00
2026-01-09 10:07:15 +01:00
2026-04-30 07:26:40 -04:00