Ignore winum operations for mode-line.

This commit is contained in:
Vincent Zhang 2018-10-24 15:38:44 +08:00
parent 19757b4a99
commit bbda508825

View file

@ -966,6 +966,8 @@ with `evil-ex-substitute', and/or 4. The number of active `iedit' regions."
(advice-add #'window-numbering-install-mode-line :override #'ignore) (advice-add #'window-numbering-install-mode-line :override #'ignore)
(advice-add #'window-numbering-clear-mode-line :override #'ignore) (advice-add #'window-numbering-clear-mode-line :override #'ignore)
(advice-add #'winum--install-mode-line :override #'ignore)
(advice-add #'winum--clear-mode-line :override #'ignore)
(doom-modeline-def-segment window-number (doom-modeline-def-segment window-number
(setq winum-auto-setup-mode-line nil) (setq winum-auto-setup-mode-line nil)