Requests: ascedent order and remove current CommanderItems
andregpss opened this issue · comments
I have two requests for command.nvim
:
- Allow the commands to be shown in ascendent order [a-z]. Currently, we can define the components that are sorted, but they appear only in decrescent order [z-a]
- A function that eliminates all the current
CommanderItems
. When I reload the lua script that configurescommander.nvim
, all theCommanderItems
appear twice. In this case, if we could eliminate the current Items, that repetition would not occur.
This commit added commander.clear()
API which does exactly what you want in the second request.