mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Beautify flycheck.
This commit is contained in:
parent
1926d456a3
commit
c9699003f6
1 changed files with 2 additions and 2 deletions
|
@ -983,13 +983,13 @@ mouse-3: Toggle minor modes"
|
|||
(defun doom-modeline-flycheck-icon (icon &optional text face voffset)
|
||||
"Displays an ICON with FACE, followed by TEXT.
|
||||
Uses `all-the-icons-material' to fetch the icon."
|
||||
(concat (if vc-mode " " " ")
|
||||
(concat " "
|
||||
(when icon
|
||||
(concat
|
||||
(doom-modeline-icon-material icon :face face :height 0.95 :v-adjust (or voffset -0.2))
|
||||
(if text doom-modeline-vspc)))
|
||||
(if text (propertize text 'face face))
|
||||
(if vc-mode " " " ")))
|
||||
" "))
|
||||
|
||||
(defvar-local doom-modeline--flycheck nil)
|
||||
(defun doom-modeline-update-flycheck-segment (&optional status)
|
||||
|
|
Loading…
Reference in a new issue