This will ensure that the select menu options have the same ordering every time the menu appears, since currently they are defined in a hash table and Lua provides no consistent ordering of items iterated via pairs. The default vim select menu utilizes numeric selection of options, so having consistent ordering is beneficial
This will ensure that the select menu options have the same ordering every time the menu appears, since currently they are defined in a hash table and Lua provides no consistent ordering of items iterated via
pairs
. The default vim select menu utilizes numeric selection of options, so having consistent ordering is beneficial