mrjones2014 / legendary.nvim

🗺️ A legend for your keymaps, commands, and autocmds, integrates with which-key.nvim, lazy.nvim, and more.
MIT License
1.14k stars 19 forks source link

refactor(commands): move util function to toolbox #416

Closed hinell closed 1 year ago

hinell commented 1 year ago

I actually wanted to include this patch into #415 PR, but decided to go separately.

How to Test

N/A

Testing for Regressions

I have tested the following:

mrjones2014 commented 1 year ago

What's the purpose of this PR?

hinell commented 1 year ago

@mrjones2014 Refactoring. That function might be used elsewhere, so it's logical to keep it in tool box.

mrjones2014 commented 1 year ago

That function might be used elsewhere

But it isn't currently. We can move it if/when it's needed.

mrjones2014 commented 1 year ago

Toolbox is supposed to be more for end-user utilities, this is an internal parser.