Skip to content

Commit

Permalink
fix(docs): recommend :init instead of :config
Browse files Browse the repository at this point in the history
Wouldn't want to re-enable the mode when re-evaluating the config file
if we've disabled it interactively during a session
  • Loading branch information
gekoke committed May 20, 2024
1 parent b45db75 commit 8fe12cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ For example, with `use-package`:
```elisp
(use-package magit-file-icons
:ensure t
:init
(magit-file-icons-mode 1)
:custom
;; These are the default values:
(magit-file-icons-enable-diff-file-section-icons t)
(magit-file-icons-enable-untracked-icons t)
(magit-file-icons-enable-diffstat-icons t)
:config
(magit-file-icons-mode 1))
(magit-file-icons-enable-diffstat-icons t))
```

If you are using some other method to install, you will need to ensure the following dependencies:
Expand Down

0 comments on commit 8fe12cb

Please sign in to comment.