Revert doom-modeline formats to defaults

It's not tenable for me to maintain this package more than I have to
anymore, now that I no longer use doom-modeline.

Addresses #2356, #1680
This commit is contained in:
Henrik Lissner 2020-02-02 03:11:44 -05:00
parent a14e3afc10
commit ac52e644a8
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -58,19 +58,6 @@
(doom-modeline-set-project-modeline)
(hide-mode-line-mode))))
;; Remove unused segments & extra padding
(doom-modeline-def-modeline 'main
'(bar window-number matches buffer-info remote-host buffer-position selection-info)
'(objed-state misc-info persp-name irc mu4e github debug input-method buffer-encoding lsp major-mode process vcs checker))
(doom-modeline-def-modeline 'special
'(bar window-number matches buffer-info-simple buffer-position selection-info)
'(objed-state misc-info persp-name debug input-method irc-buffers buffer-encoding lsp major-mode process checker))
(doom-modeline-def-modeline 'project
'(bar window-number buffer-default-directory)
'(misc-info mu4e github debug battery " " major-mode process))
;; Some functions modify the buffer, causing the modeline to show a false
;; modified state, so force them to behave.
(defadvice! +modeline--inhibit-modification-hooks-a (orig-fn &rest args)