aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_help_html.py
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-07-11 11:34:26 -0700
committerJustin M. Keyes <justinkz@gmail.com>2021-09-26 11:28:28 -0700
commitdc15b3a92c9b6af1a985fa5b62f04177795e58df (patch)
tree13d0d87c628826f18d5699a1cac498e6c8e8468b /scripts/gen_help_html.py
parent18375c6df609d4e89640c609490a85110852795c (diff)
downloadrneovim-dc15b3a92c9b6af1a985fa5b62f04177795e58df.tar.gz
rneovim-dc15b3a92c9b6af1a985fa5b62f04177795e58df.tar.bz2
rneovim-dc15b3a92c9b6af1a985fa5b62f04177795e58df.zip
fix(lsp): avoid ipairs on non-sequential tables (#15059)
ipairs terminates on the first nil index when iterating over table keys: for i,k in ipairs( {[1] = 'test', [3] = 'test'} ) do print(i, k) end prints: 1 test Instead, use pairs which continues iterating over the entire table: for i,k in pairs( {[1] = 'test', [3] = 'test'} ) do print(i, k) end prints: 1 test 3 test
Diffstat (limited to 'scripts/gen_help_html.py')
0 files changed, 0 insertions, 0 deletions