From d73e59b269e44ce1c8e4fbd45b5acd612a51c2ab Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 9 Sep 2023 21:00:31 +0300 Subject: aesthetics.el: Have nerd-icons-completion hook b4 marginalia-mode --- .emacs.d/modules/thanos-aesthetics.el | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.emacs.d/modules/thanos-aesthetics.el b/.emacs.d/modules/thanos-aesthetics.el index aa3db63..3ba226b 100644 --- a/.emacs.d/modules/thanos-aesthetics.el +++ b/.emacs.d/modules/thanos-aesthetics.el @@ -100,22 +100,16 @@ (display-battery-mode 1)) ;; UI -- Vertico, consult, marginalia -(nerd-icons-completion-mode) (vertico-mode) (savehist-mode) (define-key global-map (kbd "C-s") 'consult-line) (define-key global-map (kbd "C-x b") 'consult-buffer) (define-key global-map (kbd "C-c m") 'consult-imenu) -(setf register-preview-delay 0.5 - register-preview-function #'consult-register-format) - -(setf xref-show-xrefs-function #'consult-xref - xref-show-definitions-function #'consult-xref) - (require 'marginalia) -(marginalia-mode) (add-hook 'marginalia-mode-hook #'nerd-icons-completion-marginalia-setup) +(marginalia-mode) + ;; Helpful (require 'helpful) (define-key global-map (kbd "C-h f") #'helpful-callable) -- cgit v1.2.3