mirror of
https://github.com/vale981/doom-modeline
synced 2025-03-05 09:21:38 -05:00
Update vcs segment.
This commit is contained in:
parent
5e91cfc51b
commit
263c5ddbcd
1 changed files with 2 additions and 2 deletions
|
@ -673,8 +673,8 @@ Uses `all-the-icons-octicon' to fetch the icon."
|
|||
(doom-modeline-def-segment vcs
|
||||
"Displays the current branch, colored based on its state."
|
||||
(let ((active (doom-modeline--active)))
|
||||
(when-let ((icon (or doom-modeline--vcs-icon (doom-modeline-update-vcs-icon)))
|
||||
(text (or doom-modeline--vcs-text (doom-modeline-update-vcs-text))))
|
||||
(when-let ((icon doom-modeline--vcs-icon)
|
||||
(text doom-modeline--vcs-text))
|
||||
(concat
|
||||
(doom-modeline-spc)
|
||||
(propertize
|
||||
|
|
Loading…
Add table
Reference in a new issue