mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Improve major-mode segment: add menus for major/minor modes.
This commit is contained in:
parent
e4605cd361
commit
c5739f3f14
1 changed files with 1 additions and 1 deletions
|
@ -635,7 +635,7 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
|||
(doom-modeline-def-segment major-mode
|
||||
"The major mode, including environment and text-scale info."
|
||||
(propertize
|
||||
(concat (format-mode-line mode-name)
|
||||
(concat (substring (format-mode-line mode-line-modes) 2 -3)
|
||||
(when doom-modeline-env-version
|
||||
(format " %s" doom-modeline-env-version))
|
||||
(and (boundp 'text-scale-mode-amount)
|
||||
|
|
Loading…
Reference in a new issue