Closed hinell closed 1 year ago
What's the purpose of this PR?
@mrjones2014 Refactoring. That function might be used elsewhere, so it's logical to keep it in tool box.
That function might be used elsewhere
But it isn't currently. We can move it if/when it's needed.
Toolbox is supposed to be more for end-user utilities, this is an internal parser.
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:
legendary.nvim
in all modes (normal, insert, visual)legendary.nvim
, then triggering via the keymap in all modes (normal, insert, visual)legendary.nvim
in all modes (normal, insert, visual)legendary.nvim
, then running the command manually from the command lineaugroup
/autocmd
s created throughlegendary.nvim
work correctly