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 Mar 27, 2024
1 parent f37fea8 commit e9c8ba8
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 @@ -107,7 +107,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 e9c8ba8

Please sign in to comment.