fix(window-select): unset winum-auto-setup-mode-line sooner
Its value is read when winum-mode is activated.
This commit is contained in:
parent
c8030df9ee
commit
bd0728e9b3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue