about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
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."