Eval +modeline-major-mode live
It's a small segment. We can afford it being a little more greedy.
This commit is contained in:
parent
b1aa478528
commit
e79111ff54
1 changed files with 1 additions and 3 deletions
|
@ -356,10 +356,8 @@ buffers.")
|
||||||
" "))
|
" "))
|
||||||
|
|
||||||
(def-modeline-segment! +modeline-major-mode
|
(def-modeline-segment! +modeline-major-mode
|
||||||
:on-set (mode-name)
|
|
||||||
:faces t
|
|
||||||
(propertize (format-mode-line mode-name)
|
(propertize (format-mode-line mode-name)
|
||||||
'face 'doom-modeline-buffer-major-mode))
|
'face (if (active) 'doom-modeline-buffer-major-mode)))
|
||||||
|
|
||||||
(defun +modeline--macro-recording ()
|
(defun +modeline--macro-recording ()
|
||||||
"Display current Emacs or evil macro being recorded."
|
"Display current Emacs or evil macro being recorded."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue