fix: doom-modeline-spc is a variable not a func

This commit is contained in:
TEC 2022-09-23 23:14:19 +08:00
parent 3c7410f87e
commit 5123ca7bb7
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 2 additions and 2 deletions

View File

@ -3994,13 +3994,13 @@ icon. Then we'll redefine two functions used to generate the modeline.
(doom-modeline-def-segment buffer-name
"Display the current buffer's name, without any other information."
(concat
(doom-modeline-spc)
doom-modeline-spc
(doom-modeline--buffer-name)))
(doom-modeline-def-segment pdf-icon
"PDF icon from all-the-icons."
(concat
(doom-modeline-spc)
doom-modeline-spc
(doom-modeline-icon 'octicon "file-pdf" nil nil
:face (if (doom-modeline--active)
'all-the-icons-red