mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-14 15:46:56 -05:00
fix(window-select): unset winum-auto-setup-mode-line sooner
Its value is read when winum-mode is activated.
This commit is contained in:
@@ -25,10 +25,10 @@
|
|||||||
:when (modulep! +numbers)
|
:when (modulep! +numbers)
|
||||||
:after-call doom-switch-window-hook
|
:after-call doom-switch-window-hook
|
||||||
:config
|
:config
|
||||||
(winum-mode +1)
|
|
||||||
;; winum modifies `mode-line-format' in a destructive manner. I'd rather leave
|
;; 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.
|
;; it to modeline plugins (or the user) to add this if they want it.
|
||||||
(setq winum-auto-setup-mode-line nil)
|
(setq winum-auto-setup-mode-line nil)
|
||||||
|
(winum-mode +1)
|
||||||
(map! :map evil-window-map
|
(map! :map evil-window-map
|
||||||
"0" #'winum-select-window-0-or-10
|
"0" #'winum-select-window-0-or-10
|
||||||
"1" #'winum-select-window-1
|
"1" #'winum-select-window-1
|
||||||
|
Reference in New Issue
Block a user