Merge pull request #3 from jsmestad/patch-1

Update use-package definition
This commit is contained in:
Vincent Zhang 2018-06-16 01:21:51 +08:00 committed by GitHub
commit aa8f0d0ea7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,12 +33,23 @@ In `init.el`,
(use-package doom-modeline (use-package doom-modeline
:ensure t :ensure t
:defer t :defer t
:init (add-hook 'after-init-hook #'doom-modeline-init)) :requires (shrink-path eldoc-eval)
:hook (after-init . doom-modeline-init))
``` ```
This package requires the fonts included with `all-the-icons` to be installed. This package requires the fonts included with `all-the-icons` to be installed.
Run `M-x all-the-icons-install-fonts` to do so. Run `M-x all-the-icons-install-fonts` to do so.
If you do not have them already installed, here are the dependencies:
``` emacs-lisp
(use-package shrink-path)
(use-package all-the-icons)
(use-package eldoc-eval)
```
## Screenshots ## Screenshots
![modeline](https://github.com/hlissner/doom-emacs/raw/screenshots/ml.png) ![modeline](https://github.com/hlissner/doom-emacs/raw/screenshots/ml.png)