aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/luaeval_spec.lua
diff options
context:
space:
mode:
authorYi Ming <ofseed@foxmail.com>2026-05-19 16:32:12 +0800
committerYi Ming <ofseed@foxmail.com>2026-05-20 16:23:01 +0800
commit8d1233a1440cb93f64ff1d6181138437251e3e63 (patch)
treeeb5ad435af0288fbb5da48f83deb6143086a7518 /test/functional/lua/luaeval_spec.lua
parentf3bb21e71da09a357c0b05e53b4e11afdceb6621 (diff)
downloadrneovim-8d1233a1440cb93f64ff1d6181138437251e3e63.tar.gz
rneovim-8d1233a1440cb93f64ff1d6181138437251e3e63.tar.bz2
rneovim-8d1233a1440cb93f64ff1d6181138437251e3e63.zip
feat(pos,range)!: remove `range.cursor()` and `range:to_cursor()`,
Problem: - A window can only have one cursor, ranges selected by the cursor are typically obtained by marks like ">" and "<", instead of calling get_cursor() twice. - `vim.Range` is described as end-exclusive, but the current `range.cursor()`/`range:to_cursor()` are end-inclusive. - Conversion between `vim.Range` and mark-indexed range can be done by `range.mark()`/`range:to_mark()` Solution: Remove `range.cursor()` and `range:to_cursor()`,
Diffstat (limited to 'test/functional/lua/luaeval_spec.lua')
0 files changed, 0 insertions, 0 deletions