You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error message appears in the echo area which states that evil-normalize-keymaps is called with a wrong number of arguments as
the Corfu completion popup is shown.
The issues is created by setting evil-normalize-keymaps as an advice
to the setup and teardown function. The problem is that the Corfu
functions take a fixed set of arguments while evil-normalize-keymaps
just has one optional argument. Since advices must have the same
signature as the function, the apply call fails.
This is fixed by just using a lambda with &rest that consumes the
arguments and calls evil-normalize-keymaps.
I have a branch ready that I could push. Otherwise this is the required change:
Basically, remove the advices introduced by evil-collection and add the correct ones from @sebwelkberg.
This has to be done right after global-corfu-mode because the incorrect code (in evil-collection-corfu-setup) runs as a hook on global-corfu-mode.
An error message appears in the echo area which states that
evil-normalize-keymaps
is called with a wrong number of arguments asthe Corfu completion popup is shown.
The issues is created by setting
evil-normalize-keymaps
as an adviceto the setup and teardown function. The problem is that the Corfu
functions take a fixed set of arguments while
evil-normalize-keymaps
just has one optional argument. Since advices must have the same
signature as the function, the apply call fails.
This is fixed by just using a lambda with &rest that consumes the
arguments and calls
evil-normalize-keymaps
.I have a branch ready that I could push. Otherwise this is the required change:
The text was updated successfully, but these errors were encountered: