Skip to content

Commit

Permalink
Properly call doom-modeline-vcs-display-function
Browse files Browse the repository at this point in the history
  • Loading branch information
Samvid Mistry authored and seagle0128 committed Aug 30, 2024
1 parent 7d89095 commit aa5a4a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doom-modeline-segments.el
Original file line number Diff line number Diff line change
Expand Up @@ -687,8 +687,8 @@ Uses `nerd-icons-octicon' to fetch the icon."
(doom-modeline-icon 'octicon "nf-oct-alert" "" "!" :face 'doom-modeline-urgent))
(t (doom-modeline-vcs-icon "nf-dev-git_branch" "" "@" 'doom-modeline-info))))
(str (or (and vc-display-status
(functionp #'doom-modeline-vcs-name)
(funcall #'doom-modeline-vcs-name))
(functionp doom-modeline-vcs-display-function)
(funcall doom-modeline-vcs-display-function))
""))
(face (cond ((eq state 'needs-update)
'(doom-modeline-warning bold))
Expand Down

0 comments on commit aa5a4a6

Please sign in to comment.