aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/loader.lua
diff options
context:
space:
mode:
authorLuis Calle <53507599+TheLeoP@users.noreply.github.com>2026-05-08 04:17:00 -0500
committerGitHub <noreply@github.com>2026-05-08 05:17:00 -0400
commit416f3482e7f183b039dfe56e158ac42ea42abb3a (patch)
treee0ddf53935157889813e9571410d3259f76b2551 /runtime/lua/vim/loader.lua
parent832a68835b741bf874b936f933d662a5e1159e32 (diff)
downloadrneovim-416f3482e7f183b039dfe56e158ac42ea42abb3a.tar.gz
rneovim-416f3482e7f183b039dfe56e158ac42ea42abb3a.tar.bz2
rneovim-416f3482e7f183b039dfe56e158ac42ea42abb3a.zip
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.
Diffstat (limited to 'runtime/lua/vim/loader.lua')
0 files changed, 0 insertions, 0 deletions