Format docs.

This commit is contained in:
Vincent Zhang 2019-02-22 00:09:04 +07:00
parent bd8e00ff61
commit 83c75bf562

View file

@ -237,10 +237,12 @@ Strongly recommend to use
'(bar matches buffer-info remote-host buffer-position parrot selection-info) '(bar matches buffer-info remote-host buffer-position parrot selection-info)
'(misc-info minor-modes input-method buffer-encoding major-mode process vcs checker)) '(misc-info minor-modes input-method buffer-encoding major-mode process vcs checker))
``` ```
2. Set it to default using the `doom-modeline-mode-hook`:
1. Set it to default using the `doom-modeline-mode-hook`:
```emacs-lisp ```emacs-lisp
(defun setup-custom-doom-modeline () (defun setup-custom-doom-modeline ()
(doom-modeline-set-modeline 'my-simple-line 'default)) (doom-modeline-set-modeline 'my-simple-line 'default))
(add-hook 'doom-modeline-mode-hook 'setup-custom-doom-modeline) (add-hook 'doom-modeline-mode-hook 'setup-custom-doom-modeline)
``` ```