mirror of
https://github.com/vale981/doom-modeline
synced 2025-03-05 09:21:38 -05:00
Update modeline after refreshing vc state.
This commit is contained in:
parent
34c6f91d36
commit
969d001290
1 changed files with 1 additions and 0 deletions
|
@ -824,6 +824,7 @@ mouse-3: Toggle minor modes"
|
|||
(add-hook 'after-revert-hook #'doom-modeline--update-vcs)
|
||||
(add-hook 'after-save-hook #'doom-modeline--update-vcs)
|
||||
(add-hook 'find-file-hook #'doom-modeline--update-vcs t)
|
||||
(advice-add #'vc-refresh-state :after #'doom-modeline--update-vcs)
|
||||
(advice-add #'select-window :after #'doom-modeline--update-vcs)
|
||||
|
||||
(doom-modeline-def-segment vcs
|
||||
|
|
Loading…
Add table
Reference in a new issue