From bbda508825e8e49f8687ecc2f9455fd19cf1a0a7 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Wed, 24 Oct 2018 15:38:44 +0800 Subject: [PATCH] Ignore winum operations for mode-line. --- doom-modeline.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doom-modeline.el b/doom-modeline.el index 2efd2a4..ddde650 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -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-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 (setq winum-auto-setup-mode-line nil)