From 74b9de6292b8638348a7595b843a7f22a6064890 Mon Sep 17 00:00:00 2001 From: Vaino Kauppila Date: Thu, 10 Sep 2026 15:06:54 +0300 Subject: Enable corfu auto-completion popup corfu-auto was nil, so completions only appeared on explicit C-; nothing popped up while typing. Now: popup after 2 chars / 0.15s idle, C- still forces completion. Verified in a GUI session on vkeHF: typing 'np.a' delivers 51 numpy candidates from the env pylsp into the corfu popup (eglot CAPF first in completion-at-point-functions). --- emacs.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 748f44c..e13833b 100644 --- a/emacs.el +++ b/emacs.el @@ -190,7 +190,11 @@ (use-package corfu :custom - (corfu-auto nil) + ;; Popup completions automatically while typing (after 2 chars, 0.15s + ;; idle). C- below still forces completion at any time. + (corfu-auto t) + (corfu-auto-delay 0.15) + (corfu-auto-prefix 2) (corfu-quit-at-boundary nil) (corfu-quit-no-match nil) :init -- cgit v1.3