From 8fe12cb593cec02d11d4238777205ec857c66732 Mon Sep 17 00:00:00 2001 From: Gregor Grigorjan Date: Mon, 20 May 2024 03:44:55 +0300 Subject: [PATCH] fix(docs): recommend `:init` instead of `:config` Wouldn't want to re-enable the mode when re-evaluating the config file if we've disabled it interactively during a session --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4c33bb69..72784149 100644 --- a/README.md +++ b/README.md @@ -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: