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-info)))))))
|
||||
(`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))
|
||||
(`interrupted (doom-modeline-checker-text "Interrupted" 'doom-modeline-debug))
|
||||
(`suspicious (doom-modeline-checker-text "Suspicious" 'doom-modeline-urgent))
|
||||
|
@ -894,8 +894,8 @@ mouse-2: Show help for minor mode"
|
|||
((text
|
||||
(cond
|
||||
(some-waiting doom-modeline--flymake-text)
|
||||
((null known) (doom-modeline-checker-text "-" 'doom-modeline-debug))
|
||||
(all-disabled (doom-modeline-checker-text "-" 'doom-modeline-urgent))
|
||||
((null known) nil)
|
||||
(all-disabled nil)
|
||||
(t (let ((num (+ .error .warning .note)))
|
||||
(when (> num 0)
|
||||
(if doom-modeline-checker-simple-format
|
||||
|
|
Loading…
Reference in a new issue