mirror of
https://github.com/neovim/neovim.git
synced 2026-01-16 18:19:04 +10:00
Problem: complete_info() returns wrong index
Solution: Make order of 'info' in completion_info consistent
Start the iteration from the same point and follow the same direction as
done when assigning the completion numbers. This way we remove the
dependence on the completion direction and make the order of 'info'
consistent.
closes: vim/vim#12230
closes: vim/vim#12971
69fb5afb3b
Co-authored-by: LemonBoy <thatlemon@gmail.com>