diff options
| author | Yi Ming <ofseed@foxmail.com> | 2026-06-02 19:13:26 +0800 |
|---|---|---|
| committer | Yi Ming <ofseed@foxmail.com> | 2026-06-08 19:52:51 +0800 |
| commit | f79999270ed30c85a13e1f06c845a82939918a28 (patch) | |
| tree | f51b7196e127222cd72da17afdc0c0710a600489 /test/functional/vimscript/executable_spec.lua | |
| parent | 2bd13177b83a158f2e8a00e7aeac5ffe793e0923 (diff) | |
| download | rneovim-f79999270ed30c85a13e1f06c845a82939918a28.tar.gz rneovim-f79999270ed30c85a13e1f06c845a82939918a28.tar.bz2 rneovim-f79999270ed30c85a13e1f06c845a82939918a28.zip | |
feat(pos)!: match return value of `to_cursor()` with parameters of `cursor()`
Problem:
- `pos.cursor()` receives a table contains `row` and `col` as arguments,
but `pos:to_cursor` returns `row` and `col` directly
without wrapping them in a table.
- `pos.mark()`/`pos:to_mark` can already handle unpacked `row` `col`.
Solution:
Make `pos:to_cursor()` return a `row` and `col` in a table.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions