mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00: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…
Reference in a new issue