summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoa2025-04-29 15:11:45 +0800
committernoa2025-04-29 15:11:45 +0800
commit95603fa6be24607d44d5343684a433c0a629a370 (patch)
tree6ecb55d4988928eaea06e59f89f6e34b6e5349ba
parentff98489ae0f44b7f1fabb8704d281edd636c4cf9 (diff)
Make sure comments are in the right place
-rw-r--r--emacs/init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el
index e468ab1..840b580 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -110,6 +110,7 @@
;; Doesn't work great with a proportional font but could still be useful.
(global-set-key (kbd "C-S-<down-mouse-1>") #'mouse-drag-region-rectangle)
+
;;; Minibuffer
;; It is often useful to be able to run a command while i am already in the process of running a command in the minibuffer. This is rarely two extended commands; usually it is completion.
@@ -132,8 +133,6 @@
;; If i type ~/ etc in a find-file prompt, get rid of the preceding directory names for a cleaner look.
:hook (rfn-eshadow-update-overlay . vertico-directory-tidy))
-;; Annotations for completing-read
-
;; Taken from configuration for the vertico stack:
;; Add prompt indicator to `completing-read-multiple'.
;; We display [CRM<separator>], e.g., [CRM,] if the separator is a comma.
@@ -146,8 +145,10 @@
(cdr args)))
(advice-add #'completing-read-multiple :filter-args #'crm-indicator)
+;; Annotations for completing-read
(use-package marginalia
:defer t
+ :ensure t
:hook (after-init . marginalia-mode)
;; :custom
;; (marginalia-mode t)