Closed nyngwang closed 1 year ago
The current set of features is already over complicated and this would make it much worse for a very small payoff.
@lewis6991 Then regarding my case, do you know how to solve it?
It sounds like you're putting too much effort into lazy loading.
@lewis6991 So I should not put keymap.set
inside config = ...
right?
Yes and don't use after
.
As title.
Use case: I have a plugin(let me call it
Target
) that I will run something inside itsconfig = ...
, but I need to ensure that some plugins'config = ...
(let me call itFuns
) have been called. With existingafter
then I have to trace thoseFuns
and put it into theafter
ofTarget
. If we have abefore
field then I only need to addbefore
for everyFuns
. Since allFuns
are pointed to the sameTarget
, it's easier to write and maintain than the existingafter
method.