Fix the new `corfu--setup` signature (backward compatible)

This commit is contained in:
Abdelhak Bougouffa 2023-12-25 15:32:17 +01:00 committed by James
parent c30158a0df
commit cf1a11912d
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ This key theme variable may be refactored in the future so use with caution."
(evil-collection-define-key 'insert 'corfu-map
(kbd "C-d") 'corfu-scroll-down))
(advice-add 'corfu--setup :after 'evil-normalize-keymaps)
(advice-add 'corfu--setup :after (lambda (&rest _) (evil-normalize-keymaps)))
(advice-add 'corfu--teardown :after 'evil-normalize-keymaps))
(provide 'evil-collection-corfu)