summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoa2025-02-22 02:42:09 +0800
committernoa2025-02-22 02:42:09 +0800
commit2f8716bd2c968442a5367182510c34bc74baba93 (patch)
treea123b7aa4329b51d2cb08acfe911e88971894a8e
parentd2bb5f983e9eceea59c685b1df29ceaa17150a47 (diff)
Remove vertico candidate arrow prefix
-rw-r--r--emacs/init.el12
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: