diff options
| author | Yi Ming <ofseed@foxmail.com> | 2026-06-02 14:59:51 +0800 |
|---|---|---|
| committer | Yi Ming <ofseed@foxmail.com> | 2026-06-02 18:15:44 +0800 |
| commit | d3699793288e08cad0756181761cf1968af14e5c (patch) | |
| tree | ba0449db34e52044ab7020e376a946c71613b11e /test/functional/vimscript/executable_spec.lua | |
| parent | edcaf1887ae60d78526abe73bd536af8ccfc2310 (diff) | |
| download | rneovim-d3699793288e08cad0756181761cf1968af14e5c.tar.gz rneovim-d3699793288e08cad0756181761cf1968af14e5c.tar.bz2 rneovim-d3699793288e08cad0756181761cf1968af14e5c.zip | |
refactor(pos): remove unnecessary code of `get_lines()`, tidy up
Problem:
`get_lines()` actually supports passing a `integer` instead of `integer[]`,
but it is never used in this way, we use `get_line()` instead.
Solution:
Fix it. Also rename some variables to align with our current naming convention
and use `vim.fn.readblob()` instead of a bunch of `uv` calls.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions