Files
neovim/runtime
Michael Lingelbach eece0735fe 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
2021-07-11 11:34:26 -07:00
..
2021-05-01 14:22:52 -04:00
2021-05-02 12:44:04 -04:00
2021-05-25 22:11:04 -04:00
2021-05-25 22:11:04 -04:00
2021-05-01 22:29:03 -04:00
2021-05-01 22:29:03 -04:00
2021-05-25 22:11:04 -04:00
2021-05-02 12:44:04 -04:00
2014-12-19 15:28:49 -05:00
2021-03-09 19:21:26 +01:00
2021-04-29 21:08:09 -04:00
2019-07-29 20:50:07 +02:00
2021-04-27 09:21:32 -04:00
2021-04-28 21:57:50 -04:00
2019-07-29 20:50:07 +02:00
2021-07-02 18:12:11 +02:00
2021-05-01 22:29:03 -04:00
2021-05-01 22:29:02 -04:00
2014-07-29 02:12:31 +00:00
2021-05-01 22:29:02 -04:00