Add window number for special, project and media modeline.

This commit is contained in:
Vincent Zhang 2018-07-02 17:35:21 +08:00
parent 69e47314a3
commit f6f73ddddb

View file

@ -928,15 +928,15 @@ enabled."
(media-info major-mode)) (media-info major-mode))
(doom-modeline-def-modeline special (doom-modeline-def-modeline special
(bar matches " " buffer-info-simple " %l:%c %p " selection-info) (window-number bar matches " " buffer-info-simple " %l:%c %p " selection-info)
(buffer-encoding major-mode flycheck)) (buffer-encoding major-mode flycheck))
(doom-modeline-def-modeline project (doom-modeline-def-modeline project
(bar buffer-default-directory) (window-number bar buffer-default-directory)
(major-mode)) (major-mode))
(doom-modeline-def-modeline media (doom-modeline-def-modeline media
(bar " %b ") (window-number bar " %b ")
(media-info major-mode)) (media-info major-mode))
;; ;;