Skip to content

Commit

Permalink
Corfu: preselect variable is corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronjensen committed Apr 2, 2024
1 parent 00b499a commit 2e8056b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modes/corfu/evil-collection-corfu.el
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2e8056b

Please sign in to comment.