From bd0728e9b370534d4e8ff70cc579258101d614d4 Mon Sep 17 00:00:00 2001 From: Yu-Fu Fu Date: Thu, 23 Feb 2023 01:09:32 -0500 Subject: [PATCH] fix(window-select): unset winum-auto-setup-mode-line sooner Its value is read when winum-mode is activated. --- modules/ui/window-select/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/window-select/config.el b/modules/ui/window-select/config.el index 35a13f07b..0677e000e 100644 --- a/modules/ui/window-select/config.el +++ b/modules/ui/window-select/config.el @@ -25,10 +25,10 @@ :when (modulep! +numbers) :after-call doom-switch-window-hook :config - (winum-mode +1) ;; winum modifies `mode-line-format' in a destructive manner. I'd rather leave ;; it to modeline plugins (or the user) to add this if they want it. (setq winum-auto-setup-mode-line nil) + (winum-mode +1) (map! :map evil-window-map "0" #'winum-select-window-0-or-10 "1" #'winum-select-window-1