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