diff options
author | Mateusz Majewski <metiulekm@gmail.com> | 2023-02-06 05:24:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-06 12:24:00 +0800 |
commit | 6c39edaa7e5060cedfbbf61e88f4aad20fdff73d (patch) | |
tree | fbb2bfc32f0cdd9cf9a56b4a4793546b3fb5ca3b /runtime/lua/vim/_editor.lua | |
parent | 228684d2fbb6262f761b2b5d7001033bd69880c1 (diff) | |
download | rneovim-6c39edaa7e5060cedfbbf61e88f4aad20fdff73d.tar.gz rneovim-6c39edaa7e5060cedfbbf61e88f4aad20fdff73d.tar.bz2 rneovim-6c39edaa7e5060cedfbbf61e88f4aad20fdff73d.zip |
fix(health): iterate using ipairs correctly (#22119)
In a few places ipairs was used to iterate over elements of the array.
However, the first return value of ipairs was erronously used, which is
not the value, but rather the index. This would result in errors, for
instance when trying to retrieve a field from the value.
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions