Use moody to display VC information more nicely

This commit is contained in:
Daniel Borchmann 2025-10-09 20:59:49 +02:00
parent 4e1270659b
commit 6591dcb5a2
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -2190,7 +2190,7 @@ Note that this workaround is incomplete, as explained in this comment."
(:propertize "%b" face mode-line-buffer-id) (:propertize "%b" face mode-line-buffer-id)
"@(%l,%c)" "@(%l,%c)"
(project-mode-line project-mode-line-format) (project-mode-line project-mode-line-format)
(vc-mode vc-mode) (vc-mode (" " (:eval (moody-ribbon vc-mode))))
" " " "
mode-line-modes) mode-line-modes)
'("%b (" mode-name ")"))) '("%b (" mode-name ")")))
@ -2207,8 +2207,8 @@ Note that this workaround is incomplete, as explained in this comment."
(use-package moody (use-package moody
:ensure t :ensure t
:commands (moody-replace-mode-line-buffer-identification :init (setopt moody-mode-line-height 16)
moody-replace-vc-mode)) :commands (moody-ribbon))
(use-package smiley (use-package smiley
:init (setq smiley-style 'emoji)) :init (setq smiley-style 'emoji))