Skip to content

Commit a67d8f5

Browse files
committed
Force corfu prefix length for chat
1 parent 71c1e45 commit a67d8f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

eca-chat.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,6 +1280,8 @@ restore the chat display after smerge quits."
12801280
(when (fboundp 'company-mode)
12811281
(setq-local company-backends '(company-capf)
12821282
company-minimum-prefix-length 0))
1283+
(when (fboundp 'corfu-mode)
1284+
(setq-local corfu-auto-prefix 0))
12831285
(setq-local mode-line-format '(t (:eval (eca-chat--mode-line-string))))
12841286
(force-mode-line-update)
12851287
(run-hooks 'eca-chat-mode-hook)))))

0 commit comments

Comments
 (0)