Fix double space after "checker" segment.

If there is no checker text (i.e. no errors), you were ending up with
two spaces after the checker icon. Fix by moving the second space into
the "text" conditional.
This commit is contained in:
Muir Manders 2019-10-27 11:36:39 -07:00
parent a8d932e093
commit 0443a65d97

View file

@ -1006,11 +1006,12 @@ mouse-1: List all problems%s"
icon
(propertize icon 'face `(:inherit ,(get-text-property 0 'face icon)
:inherit mode-line-inactive))))
(doom-modeline-vspc)
(when text
(if active
text
(propertize text 'face 'mode-line-inactive)))))
(concat
(doom-modeline-vspc)
(if active
text
(propertize text 'face 'mode-line-inactive))))))
"")))