summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-08 14:24:11 +0200
committerAlan Pearce2024-05-08 14:24:39 +0200
commit48ed7c3b6fc522dd3875fa6b8323a827698e6817 (patch)
treef8ee720933214600c6bfbeaf2efa87b327573c53
parent378b111a641ab662d0ca241f552e2cb9c7e96a28 (diff)
downloadnixfiles-48ed7c3b6fc522dd3875fa6b8323a827698e6817.tar.lz
nixfiles-48ed7c3b6fc522dd3875fa6b8323a827698e6817.tar.zst
nixfiles-48ed7c3b6fc522dd3875fa6b8323a827698e6817.zip
emacs: tweak corfu settings
-rw-r--r--user/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 1171ea7c..738c4f37 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -531,7 +531,8 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
                   corfu-auto-delay 0.1
                   corfu-auto-prefix 3
                   corfu-on-exact-match nil
-                  corfu-preselect 'valid)
+		          corfu-preview-current nil
+                  corfu-preselect 'prompt)
             (defun corfu-enable-in-minibuffer ()
               "Enable Corfu in the minibuffer if `completion-at-point' is bound."
               (when (where-is-internal #'completion-at-point (list (current-local-map)))