mirror of
https://github.com/correl/doom-modeline.git
synced 2024-12-25 03:00:11 +00:00
Display minor modes if minions is installed.
This commit is contained in:
parent
777390f00b
commit
a6145d435a
3 changed files with 4 additions and 3 deletions
|
@ -164,7 +164,7 @@ Run `M-x customize-group RET doom-modeline RET` or set the variables.
|
|||
(setq doom-modeline-buffer-file-name-style 'truncate-upto-project)
|
||||
|
||||
;; Whether display icons in mode-line or not.
|
||||
(setq doom-modeline-icon t)
|
||||
(setq doom-modeline-icon (display-graphic-p))
|
||||
|
||||
;; Whether display the icon for major mode. It respects `doom-modeline-icon'.
|
||||
(setq doom-modeline-major-mode-icon t)
|
||||
|
@ -181,7 +181,7 @@ Run `M-x customize-group RET doom-modeline RET` or set the variables.
|
|||
(setq doom-modeline-buffer-modification-icon t)
|
||||
|
||||
;; Whether display minor modes in mode-line or not.
|
||||
(setq doom-modeline-minor-modes nil)
|
||||
(setq doom-modeline-minor-modes (featurep 'minions))
|
||||
|
||||
;; If non-nil, a word count will be added to the selection-info modeline segment.
|
||||
(setq doom-modeline-enable-word-count nil)
|
||||
|
|
|
@ -206,7 +206,7 @@ If the actual char height is larger, it respects the actual char height."
|
|||
:type 'boolean
|
||||
:group 'doom-modeline)
|
||||
|
||||
(defcustom doom-modeline-minor-modes nil
|
||||
(defcustom doom-modeline-minor-modes (featurep 'minions)
|
||||
"Whether display minor modes in mode-line or not."
|
||||
:type 'boolean
|
||||
:group 'doom-modeline)
|
||||
|
|
|
@ -159,6 +159,7 @@
|
|||
(declare-function mu4e-alert-default-mode-line-formatter 'mu4e-alert)
|
||||
(declare-function mu4e-alert-enable-mode-line-display 'mu4e-alert)
|
||||
(declare-function nyan-create 'nyan-mode)
|
||||
(declare-function org-edit-src-save 'org-src)
|
||||
(declare-function org-narrow-to-block 'org)
|
||||
(declare-function org-narrow-to-element 'org)
|
||||
(declare-function org-narrow-to-subtree 'org)
|
||||
|
|
Loading…
Reference in a new issue