diff options
author | glacambre <code@lacamb.re> | 2021-05-25 07:06:50 +0200 |
---|---|---|
committer | glacambre <code@lacamb.re> | 2021-05-26 07:07:11 +0200 |
commit | 0c8454f5bc5c40a2d2926f4b630a8519731fd7ae (patch) | |
tree | ee13494456b38ee08f5bd1f3fffd82b7bfb123ff /runtime/lua/vim/lsp/util.lua | |
parent | 75992f2ad9189a5f39b3e2ae7962c68d3af815a4 (diff) | |
download | rneovim-0c8454f5bc5c40a2d2926f4b630a8519731fd7ae.tar.gz rneovim-0c8454f5bc5c40a2d2926f4b630a8519731fd7ae.tar.bz2 rneovim-0c8454f5bc5c40a2d2926f4b630a8519731fd7ae.zip |
Fix crash on `:echo get_all_options_info()`
Iterating over PARAM_COUNT is wrong as PARAM_COUNT also counts the last
element of the options array, which has a NULL fullname in order to
signal the end of the array.
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
0 files changed, 0 insertions, 0 deletions