diff options
author | noa | 2025-02-22 02:42:09 +0800 |
---|---|---|
committer | noa | 2025-02-22 02:42:09 +0800 |
commit | 2f8716bd2c968442a5367182510c34bc74baba93 (patch) | |
tree | a123b7aa4329b51d2cb08acfe911e88971894a8e /emacs/init.el | |
parent | d2bb5f983e9eceea59c685b1df29ceaa17150a47 (diff) |
Remove vertico candidate arrow prefix
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/emacs/init.el b/emacs/init.el index 4e9f5d7..27f82db 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -24,7 +24,6 @@ (use-package no-littering) ;;; Make a nice interface - (use-package tubthumping-theme :disabled t :load-path "~/Documents/Projects/Tubthumping/" @@ -128,17 +127,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)) -;; Prefix the current candidate with “» ”. From -;; https://github.com/minad/vertico/wiki#prefix-current-candidate-with-arrow -(advice-add #'vertico--format-candidate :around - (lambda (orig cand prefix suffix index _start) - (setq cand (funcall orig cand prefix suffix index _start)) - (concat - (if (= vertico--index index) - (propertize "» " 'face 'vertico-current) - " ") - cand))) - ;; Annotations for completing-read ;; Taken from configuration for the vertico stack: |