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