Improve: remove the spaces in the end.

This commit is contained in:
Vincent Zhang 2018-12-12 04:15:08 +08:00
parent 9460d50465
commit 2be5f28184

View file

@ -992,8 +992,7 @@ Uses `all-the-icons-material' to fetch the icon."
(concat (concat
(doom-modeline-icon-material icon :face face :height 0.95 :v-adjust (or voffset -0.2)) (doom-modeline-icon-material icon :face face :height 0.95 :v-adjust (or voffset -0.2))
(if text doom-modeline-vspc))) (if text doom-modeline-vspc)))
(if text (propertize text 'face face)) (if text (propertize text 'face face))))
" "))
(defvar-local doom-modeline--flycheck nil) (defvar-local doom-modeline--flycheck nil)
(defun doom-modeline-update-flycheck-segment (&optional status) (defun doom-modeline-update-flycheck-segment (&optional status)