Corfu: preselect variable is corrected

This commit is contained in:
Aaron Jensen 2024-03-26 22:00:03 -04:00
parent 00b499a983
commit 2e8056bef1
No known key found for this signature in database
GPG Key ID: C7481C94F4CA86A7
1 changed files with 2 additions and 2 deletions

View File

@ -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