Add temp fix for corfu and evil-collection

This commit is contained in:
Alexander Rosenberg 2023-12-23 18:09:35 -08:00
parent 3484b81864
commit cee2f438f2
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -375,7 +375,12 @@ visual states."
(global-corfu-mode 1)
(corfu-popupinfo-mode 1)
:config
(add-to-list 'corfu-continue-commands #'corfu-move-to-minibuffer))
;; temp fixes for evil-collection#766
(advice-remove #'corfu--setup #'evil-normalize-keymaps)
(advice-add #'corfu--setup :after (lambda (&rest _) (evil-normalize-keymaps)))
(advice-remove #'corfu--teardown #'evil-normalize-keymaps)
(advice-add #'corfu--teardown :after (lambda (&rest _) (evil-normalize-keymaps)))
(add-to-list 'corfu-continue-commands #'my/corfu-move-to-minibuffer))
(use-package corfu-terminal
:init
(corfu-terminal-mode 1))