mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Improve checker text.
This commit is contained in:
parent
617b77a07a
commit
51813336e9
1 changed files with 3 additions and 3 deletions
|
@ -744,7 +744,7 @@ mouse-2: Show help for minor mode")
|
||||||
(doom-modeline-checker-text (number-to-string info)
|
(doom-modeline-checker-text (number-to-string info)
|
||||||
'doom-modeline-info)))))))
|
'doom-modeline-info)))))))
|
||||||
(`running nil)
|
(`running nil)
|
||||||
(`no-checker (doom-modeline-checker-text "No Checker" 'doom-modeline-debug))
|
(`no-checker nil)
|
||||||
(`errored (doom-modeline-checker-text "Error" 'doom-modeline-urgent))
|
(`errored (doom-modeline-checker-text "Error" 'doom-modeline-urgent))
|
||||||
(`interrupted (doom-modeline-checker-text "Interrupted" 'doom-modeline-debug))
|
(`interrupted (doom-modeline-checker-text "Interrupted" 'doom-modeline-debug))
|
||||||
(`suspicious (doom-modeline-checker-text "Suspicious" 'doom-modeline-urgent))
|
(`suspicious (doom-modeline-checker-text "Suspicious" 'doom-modeline-urgent))
|
||||||
|
@ -894,8 +894,8 @@ mouse-2: Show help for minor mode"
|
||||||
((text
|
((text
|
||||||
(cond
|
(cond
|
||||||
(some-waiting doom-modeline--flymake-text)
|
(some-waiting doom-modeline--flymake-text)
|
||||||
((null known) (doom-modeline-checker-text "-" 'doom-modeline-debug))
|
((null known) nil)
|
||||||
(all-disabled (doom-modeline-checker-text "-" 'doom-modeline-urgent))
|
(all-disabled nil)
|
||||||
(t (let ((num (+ .error .warning .note)))
|
(t (let ((num (+ .error .warning .note)))
|
||||||
(when (> num 0)
|
(when (> num 0)
|
||||||
(if doom-modeline-checker-simple-format
|
(if doom-modeline-checker-simple-format
|
||||||
|
|
Loading…
Reference in a new issue