ui/modeline: fix spacing issues with flycheck/vc
This commit is contained in:
parent
76868fe48d
commit
0b130d7b9a
1 changed files with 1 additions and 2 deletions
|
@ -364,7 +364,6 @@ buffers.")
|
|||
:face face
|
||||
:v-adjust -0.05)))
|
||||
+modeline--vspc
|
||||
+modeline--vspc
|
||||
(propertize (substring vc-mode (+ (if (eq backend 'Hg) 2 3) 2))
|
||||
'face (if active face)))))))
|
||||
|
||||
|
@ -536,7 +535,7 @@ segment.")
|
|||
(defun +doom-modeline|update-flycheck-segment (&optional status)
|
||||
(setq +modeline-flycheck
|
||||
(when-let* ((status-str (+modeline-flycheck-status status)))
|
||||
(concat +modeline--vspc status-str +modeline--vspc))))
|
||||
(concat +modeline--vspc status-str " "))))
|
||||
(add-hook 'flycheck-mode-hook #'+doom-modeline|update-flycheck-segment)
|
||||
(add-hook 'flycheck-status-changed-functions #'+doom-modeline|update-flycheck-segment)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue