mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Eval +modeline-major-mode live
It's a small segment. We can afford it being a little more greedy.
This commit is contained in:
@ -356,10 +356,8 @@ buffers.")
|
||||
" "))
|
||||
|
||||
(def-modeline-segment! +modeline-major-mode
|
||||
:on-set (mode-name)
|
||||
:faces t
|
||||
(propertize (format-mode-line mode-name)
|
||||
'face 'doom-modeline-buffer-major-mode))
|
||||
'face (if (active) 'doom-modeline-buffer-major-mode)))
|
||||
|
||||
(defun +modeline--macro-recording ()
|
||||
"Display current Emacs or evil macro being recorded."
|
||||
|
Reference in New Issue
Block a user