summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-09-09 21:00:31 +0300
committerThanos Apollo <[email protected]>2023-09-09 21:08:04 +0300
commitd73e59b269e44ce1c8e4fbd45b5acd612a51c2ab (patch)
tree6dce32dc522dd0bb95c01d3207246ad6dd848c05
parent1377325582ef8c8a1a2720172e3f5a9a854dfd51 (diff)
aesthetics.el: Have nerd-icons-completion hook b4 marginalia-mode
-rw-r--r--.emacs.d/modules/thanos-aesthetics.el10
1 files 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)