branch no longer appears as "nil"

This commit is contained in:
Miranda Marquez 2024-04-07 15:40:29 -08:00
parent 5d0f344d59
commit 2de038abaf

View File

@ -265,7 +265,7 @@ Use 'window-width' to calculate the total final width."
nil))))
(p11k/spaced-concat
(if (eq p11k/prompt-flow 'fluent) "on" "")
(propertize branch 'face 'p11k/green)
(if branch (propertize branch 'face 'p11k/green) "")
(if modcount (propertize modcount 'face 'p11k/yellow) "")
(if untracked (propertize untracked 'face 'p11k/blue) "")))
""))