about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-10-06 16:29:25 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-10-06 16:29:25 +0100
commitf61fb0fe50dc0eb087a3086ea4c9d1365daaec5e (patch)
tree41868cc2dd71e7c4295b554e5c78b7558668c990 /.emacs.d/lisp
parent0b8f3a224053fed4fa4b379657d9ea070fa9b61e (diff)
downloaddotfiles-f61fb0fe50dc0eb087a3086ea4c9d1365daaec5e.tar.gz
Bikeshed vertico config
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-minibuffer.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el
index 5b5a736..6124bd6 100644
--- a/.emacs.d/lisp/init-minibuffer.el
+++ b/.emacs.d/lisp/init-minibuffer.el
@@ -33,7 +33,8 @@
 (use-package vertico
   :init
   (vertico-mode)
-  (setq vertico-cycle t)
+  :custom (vertico-cycle t)
+  :config
   (advice-add #'vertico--format-candidate :around
               (lambda (orig cand prefix suffix index start)
                 (setq cand (funcall orig cand prefix suffix index start))
@@ -42,7 +43,6 @@
                      (propertize "ยป " 'face 'vertico-current)
                    "  ")
                  cand)))
-  :config
   (defun define-vertico-key (key &rest defs)
     "Define KEY conditionally in the vertico keymap.
 DEFS is a plist associating completion categories to commands."