Skip to content

Commit

Permalink
fix faces of spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangou committed Feb 5, 2024
1 parent bf880ae commit d8c6396
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doom-modeline-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -1227,16 +1227,16 @@ If DEFAULT is non-nil, set the default mode-line for all buffers."

(defsubst doom-modeline-spc ()
"Whitespace."
(propertize " " 'face (doom-modeline-face)))
(propertize " " 'face 'doom-modeline-face))

(defsubst doom-modeline-wspc ()
"Wide Whitespace."
(propertize " " 'face (doom-modeline-face)))
(propertize " " 'face 'doom-modeline-face))

(defsubst doom-modeline-vspc ()
"Thin whitespace."
(propertize " "
'face (doom-modeline-face)
'face 'doom-modeline-face
'display '((space :relative-width 0.5))))

(defun doom-modeline-face (&optional face inactive-face)
Expand Down

0 comments on commit d8c6396

Please sign in to comment.