mirror of
https://github.com/vale981/doom-modeline
synced 2025-03-05 09:21:38 -05:00
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:
parent
a8d932e093
commit
0443a65d97
1 changed files with 5 additions and 4 deletions
|
@ -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))))))
|
||||
"")))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue