Update README.

This commit is contained in:
Vincent Zhang 2019-05-14 02:15:57 +08:00
parent d092d9b182
commit 6f54eb240e
2 changed files with 12 additions and 6 deletions

View file

@ -181,6 +181,12 @@ Strongly recommend to use
;; If non-nil, a word count will be added to the selection-info modeline segment. ;; If non-nil, a word count will be added to the selection-info modeline segment.
(setq doom-modeline-enable-word-count nil) (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. ;; If non-nil, only display one number for checker information if applicable.
(setq doom-modeline-checker-simple-format t) (setq doom-modeline-checker-simple-format t)

View file

@ -149,12 +149,6 @@ Given ~/Projects/FOSS/emacs/lisp/comint.el
(defvar doom-modeline-major-mode-color-icon t (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'.") "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 (defvar doom-modeline-buffer-state-icon t
"Whether display icons for buffer states. It respects `doom-modeline-icon'.") "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 (defvar doom-modeline-enable-word-count nil
"If non-nil, a word count will be added to the selection-info modeline segment.") "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 (defvar doom-modeline-checker-simple-format t
"If non-nil, only display one number for checker information if applicable.") "If non-nil, only display one number for checker information if applicable.")