Update additional-packages docstring with info about loading package

Many new users (quite logically) assume that the additional-packages list
behaves like installing a layer, so they assume the file is also loaded
automatically. This commit adds info about the requirement to also load the
package with load/require/use-package in the user-config section of the dotfile.
This commit is contained in:
Daniel Nicolai 2020-10-19 22:05:47 +02:00 committed by Maximilian Wolff
parent 1cbc752463
commit acc136168f
No known key found for this signature in database
GPG Key ID: 2DD07025BFDBD89A
2 changed files with 9 additions and 6 deletions

View File

@ -727,6 +727,8 @@ Other:
- Added reference handler as per jump handler (thanks to Fangrui Song)
- Added =spacemacs/iwb-region-or-buffer= (thanks to bb2020)
- Enabled eager spacebind bindings by default (thanks to JAremko)
- Add info about requirement to also load additional-package in user-config
section (thank to Daniel Nicolai)
*** Distribution changes
- Refactored =spacemacs-bootstrap=, =spacemacs-ui=, and =spacemacs-ui-visual=
layers:

View File

@ -56,12 +56,13 @@ This function should only modify configuration layer settings."
treemacs)
;; List of additional packages that will be installed without being
;; wrapped in a layer. If you need some configuration for these
;; packages, then consider creating a layer. You can also put the
;; configuration in `dotspacemacs/user-config'.
;; To use a local version of a package, use the `:location' property:
;; '(your-package :location "~/path/to/your-package/")
;; List of additional packages that will be installed without being wrapped
;; in a layer (generally the packages are installed only and should still be
;; loaded using load/require/use-package in the user-config section below in
;; this file). If you need some configuration for these packages, then
;; consider creating a layer. You can also put the configuration in
;; `dotspacemacs/user-config'. To use a local version of a package, use the
;; `:location' property: '(your-package :location "~/path/to/your-package/")
;; Also include the dependencies as they will not be resolved automatically.
dotspacemacs-additional-packages '()