aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorYi Ming <ofseed@foxmail.com>2026-06-02 15:10:05 +0800
committerYi Ming <ofseed@foxmail.com>2026-06-02 18:15:48 +0800
commit5beb751ef5f818753958dffe485011951f0912dc (patch)
tree1f4369faf54614997bc565f5c17bd245a96f8670 /test/functional/vimscript/executable_spec.lua
parentd3699793288e08cad0756181761cf1968af14e5c (diff)
downloadrneovim-5beb751ef5f818753958dffe485011951f0912dc.tar.gz
rneovim-5beb751ef5f818753958dffe485011951f0912dc.tar.bz2
rneovim-5beb751ef5f818753958dffe485011951f0912dc.zip
fix(pos): `get_lines()` never correctly fallbacks to empty string
Problem: `nvim_buf_get_lines` will always returns a table, so the `or` operator will never be used, letting `lines[row]` may be `nil` Solution: Fix it.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions