mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Remove unused spaces while lsp is not enabled.
This commit is contained in:
parent
46338a560d
commit
ea9c02134c
1 changed files with 5 additions and 5 deletions
|
@ -1719,16 +1719,16 @@ mouse-3: Reconnect to server" nick (eglot--major-mode server)))
|
|||
doom-modeline--lsp)
|
||||
((bound-and-true-p eglot--managed-mode)
|
||||
doom-modeline--eglot))))
|
||||
(concat
|
||||
(doom-modeline-whitespace)
|
||||
(when icon
|
||||
(when icon
|
||||
(concat
|
||||
(doom-modeline-whitespace)
|
||||
(if active
|
||||
icon
|
||||
(propertize icon 'face `(:inherit
|
||||
,(get-text-property 0 'face icon)
|
||||
:inherit
|
||||
mode-line-inactive))))
|
||||
(doom-modeline-whitespace)))))
|
||||
mode-line-inactive)))
|
||||
(doom-modeline-whitespace))))))
|
||||
|
||||
(defun doom-modeline-override-eglot-modeline ()
|
||||
"Override `eglot' mode-line."
|
||||
|
|
Loading…
Reference in a new issue