My doom-emacs-config
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
2.1 KiB

  1. ;; -*- no-byte-compile: t; -*-
  2. ;;; $DOOMDIR/packages.el
  3. ;; To install a package with Doom you must declare them here and run 'doom sync'
  4. ;; on the command line, then restart Emacs for the changes to take effect -- or
  5. ;; use 'M-x doom/reload'.
  6. ;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
  7. ;(package! some-package)
  8. ;; To install a package directly from a remote git repo, you must specify a
  9. ;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
  10. ;; https://github.com/raxod502/straight.el#the-recipe-format
  11. ;(package! another-package
  12. ; :recipe (:host github :repo "username/repo"))
  13. ;; If the package you are trying to install does not contain a PACKAGENAME.el
  14. ;; file, or is located in a subdirectory of the repo, you'll need to specify
  15. ;; `:files' in the `:recipe':
  16. ;(package! this-package
  17. ; :recipe (:host github :repo "username/repo"
  18. ; :files ("some-file.el" "src/lisp/*.el")))
  19. ;; If you'd like to disable a package included with Doom, you can do so here
  20. ;; with the `:disable' property:
  21. ;(package! builtin-package :disable t)
  22. ;; You can override the recipe of a built in package without having to specify
  23. ;; all the properties for `:recipe'. These will inherit the rest of its recipe
  24. ;; from Doom or MELPA/ELPA/Emacsmirror:
  25. ;(package! builtin-package :recipe (:nonrecursive t))
  26. ;(package! builtin-package-2 :recipe (:repo "myfork/package"))
  27. ;; Specify a `:branch' to install a package from a particular branch or tag.
  28. ;; This is required for some packages whose default branch isn't 'master' (which
  29. ;; our package manager can't deal with; see raxod502/straight.el#279)
  30. ;(package! builtin-package :recipe (:branch "develop"))
  31. ;; Use `:pin' to specify a particular commit to install.
  32. ;(package! builtin-package :pin "1a2b3c4d5e")
  33. ;; Doom's packages are pinned to a specific commit and updated from release to
  34. ;; release. The `unpin!' macro allows you to unpin single packages...
  35. ;(unpin! pinned-package)
  36. ;; ...or multiple packages
  37. ;(unpin! pinned-package another-pinned-package)
  38. ;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
  39. ;(unpin! t)