mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Not display window number if only one window with minibuffer.
This commit is contained in:
parent
3e5edc255c
commit
8d8225be5c
1 changed files with 2 additions and 1 deletions
|
@ -1257,7 +1257,8 @@ one. The ignored buffers are excluded unless `aw-ignore-on' is nil."
|
|||
(window-numbering-get-number-string))
|
||||
(t ""))))
|
||||
(if (and (< 0 (length num))
|
||||
(< 1 (length (window-list))))
|
||||
(< (if (active-minibuffer-window) 2 1)
|
||||
(length (window-list))))
|
||||
(propertize (format " %s " num)
|
||||
'face (if (doom-modeline--active)
|
||||
'doom-modeline-buffer-major-mode
|
||||
|
|
Loading…
Reference in a new issue