mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Fix: doom-modeline-major-mode-color-icon is not working.
This commit is contained in:
parent
4795a3b3a8
commit
3e5edc255c
1 changed files with 4 additions and 2 deletions
|
@ -378,8 +378,10 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
|||
(unless (string-empty-p icon)
|
||||
(concat
|
||||
(propertize icon 'face `(:inherit
|
||||
;; TODO: doom-modeline-major-mode-color-icon
|
||||
,(get-text-property 0 'face icon)
|
||||
,(let ((plist (get-text-property 0 'face icon)))
|
||||
(if doom-modeline-major-mode-color-icon
|
||||
plist
|
||||
(remove :inherit plist)))
|
||||
:inherit
|
||||
,(if active 'mode-line 'mode-line-inactive)))
|
||||
(if active doom-modeline-vspc doom-modeline-inactive-vspc)))))
|
||||
|
|
Loading…
Reference in a new issue