docs: warn about disabling core packages

This commit is contained in:
gandalf3 2023-05-02 13:37:29 -07:00
parent 042fe0c438
commit 6117aea06f

View file

@ -928,6 +928,12 @@ Once a package is disabled, ~use-package!~ and ~after!~ blocks for it will be
ignored, and the package is removed the next time you run ~bin/doom sync~. Use ignored, and the package is removed the next time you run ~bin/doom sync~. Use
this to disable Doom's packages that you don't want or need. this to disable Doom's packages that you don't want or need.
#+begin_quote
*IMPORTANT:* Core packages are required by doom; disabling these will break doom.
Use ~doom/help-packages~ (=SPC h p= or =C-h p=) to see if a package is in ~core~.
Disable their minor-modes or hooks instead.
#+end_quote
There is also the ~disable-packages!~ macro for conveniently disabling multiple There is also the ~disable-packages!~ macro for conveniently disabling multiple
packages: packages:
#+BEGIN_SRC elisp #+BEGIN_SRC elisp