Skip to content

Commit

Permalink
Fix the new corfu--setup signature (backward compatible)
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa authored and jojojames committed Dec 25, 2023
1 parent c30158a commit cf1a119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modes/corfu/evil-collection-corfu.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cf1a119

Please sign in to comment.