From 62025b55fbd7889cf3bddb06304e3b38c2c5c296 Mon Sep 17 00:00:00 2001 From: 45mg <45mm.cartridge421@slmail.me> Date: Sat, 6 Apr 2024 10:21:58 +0000 Subject: [PATCH] corfu: don't suppress popup when evil is disabled PR #800 caused corfu to be disabled whenever evil wasn't initialized (eg. in the minibuffer when `evil-want-minibuffer` is nil). This fixes that. Amend: #800 --- modes/corfu/evil-collection-corfu.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modes/corfu/evil-collection-corfu.el b/modes/corfu/evil-collection-corfu.el index bff519d..f61236e 100644 --- a/modes/corfu/evil-collection-corfu.el +++ b/modes/corfu/evil-collection-corfu.el @@ -89,7 +89,7 @@ This key theme variable may be refactored in the future so use with caution." (const :tag "Magic Backspace" magic-backspace)))) -(defcustom evil-collection-corfu-supported-states '(insert replace emacs) +(defcustom evil-collection-corfu-supported-states '(nil insert replace emacs) "The `evil-state's which `corfu' function can be requested." :type '(repeat symbol))