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;; use 'M-x doom/reload'.
 7
 8
 9;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
10;(package! some-package)
11
12(package! org-bullets)
13(package! smooth-scrolling)
14(package! htmlize)
15(package! ox-hugo)
16(package! flyspell)
17(package! markdown-mode)
18
19;; To install a package directly from a remote git repo, you must specify a
20;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
21;; https://github.com/raxod502/straight.el#the-recipe-format
22;(package! another-package
23;  :recipe (:host github :repo "username/repo"))
24(package! chordpro-mode
25  :recipe (:host github :repo "sciurius/chordpro-mode"))
26
27;; If the package you are trying to install does not contain a PACKAGENAME.el
28;; file, or is located in a subdirectory of the repo, you'll need to specify
29;; `:files' in the `:recipe':
30;(package! this-package
31;  :recipe (:host github :repo "username/repo"
32;           :files ("some-file.el" "src/lisp/*.el")))
33
34;; If you'd like to disable a package included with Doom, you can do so here
35;; with the `:disable' property:
36;(package! builtin-package :disable t)
37
38;; You can override the recipe of a built in package without having to specify
39;; all the properties for `:recipe'. These will inherit the rest of its recipe
40;; from Doom or MELPA/ELPA/Emacsmirror:
41;(package! builtin-package :recipe (:nonrecursive t))
42;(package! builtin-package-2 :recipe (:repo "myfork/package"))
43
44;; Specify a `:branch' to install a package from a particular branch or tag.
45;; This is required for some packages whose default branch isn't 'master' (which
46;; our package manager can't deal with; see raxod502/straight.el#279)
47;(package! builtin-package :recipe (:branch "develop"))
48
49;; Use `:pin' to specify a particular commit to install.
50;(package! builtin-package :pin "1a2b3c4d5e")
51
52
53;; Doom's packages are pinned to a specific commit and updated from release to
54;; release. The `unpin!' macro allows you to unpin single packages...
55;(unpin! pinned-package)
56;; ...or multiple packages
57;(unpin! pinned-package another-pinned-package)
58;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
59;(unpin! t)