Skip to content

Commit

Permalink
[spacemacs-navigation] Properly enable winum in vanilla mode line theme
Browse files Browse the repository at this point in the history
We should use (spacemacs/get-mode-line-theme-name) like everything
else instead of reading dotspacemacs-mode-line-theme directly, since
dotspacemacs-mode-line-theme is not always just a single symbol.
  • Loading branch information
catern authored and smile13241324 committed Nov 26, 2023
1 parent 505fdde commit 63b986b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/+spacemacs/spacemacs-navigation/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@
(use-package winum
:config
(setq winum-auto-assign-0-to-minibuffer nil
winum-auto-setup-mode-line (eq dotspacemacs-mode-line-theme 'vanilla)
winum-auto-setup-mode-line (eq (spacemacs/get-mode-line-theme-name) 'vanilla)
winum-ignored-buffers '(" *LV*" " *which-key*"))
(spacemacs/set-leader-keys
"`" 'winum-select-window-by-number
Expand Down

0 comments on commit 63b986b

Please sign in to comment.