From e0982fcbb6f1694b27074565553fac0e736a30b4 Mon Sep 17 00:00:00 2001 From: Aaron Jensen Date: Tue, 26 Mar 2024 22:00:03 -0400 Subject: [PATCH] Corfu: preselect variable is corrected --- modes/corfu/evil-collection-corfu.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modes/corfu/evil-collection-corfu.el b/modes/corfu/evil-collection-corfu.el index d15e28e..bff519d 100644 --- a/modes/corfu/evil-collection-corfu.el +++ b/modes/corfu/evil-collection-corfu.el @@ -35,7 +35,7 @@ (defvar corfu-map) (defvar corfu-cycle) -(defvar corfu-preselect-first) +(defvar corfu-preselect) (defvar corfu--index) (declare-function corfu-insert "corfu") @@ -111,7 +111,7 @@ This key theme variable may be refactored in the future so use with caution." ;; https://github.com/minad/corfu#tab-and-go-completion (when (memq 'tab-n-go evil-collection-corfu-key-themes) (setq corfu-cycle t - corfu-preselect-first nil) + corfu-preselect 'prompt) (evil-collection-define-key 'insert 'corfu-map (kbd "TAB") 'corfu-next [tab] 'corfu-next