diff --git a/README.md b/README.md index dc42501..d86f136 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,12 @@ Strongly recommend to use ;; If non-nil, a word count will be added to the selection-info modeline segment. (setq doom-modeline-enable-word-count nil) +;; Whether display buffer encoding. +(setq doom-modeline-buffer-encoding t) + +;; Whether display indentation information. +(set doom-modeline-indent-info nil) + ;; If non-nil, only display one number for checker information if applicable. (setq doom-modeline-checker-simple-format t) diff --git a/doom-modeline-core.el b/doom-modeline-core.el index 63949fd..ab0f34b 100644 --- a/doom-modeline-core.el +++ b/doom-modeline-core.el @@ -149,12 +149,6 @@ Given ~/Projects/FOSS/emacs/lisp/comint.el (defvar doom-modeline-major-mode-color-icon t "Whether display color icons for `major-mode'. It respects `doom-modeline-icon' and `all-the-icons-color-icons'.") -(defvar doom-modeline-buffer-encoding t - "Whether display buffer encoding.") - -(defvar doom-modeline-indent-info nil - "Whether display indentation information.") - (defvar doom-modeline-buffer-state-icon t "Whether display icons for buffer states. It respects `doom-modeline-icon'.") @@ -167,6 +161,12 @@ Given ~/Projects/FOSS/emacs/lisp/comint.el (defvar doom-modeline-enable-word-count nil "If non-nil, a word count will be added to the selection-info modeline segment.") +(defvar doom-modeline-buffer-encoding t + "Whether display buffer encoding.") + +(defvar doom-modeline-indent-info nil + "Whether display indentation information.") + (defvar doom-modeline-checker-simple-format t "If non-nil, only display one number for checker information if applicable.")