Advertisement
Guest User

packages.el

a guest
Dec 30th, 2024
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 2.29 KB | None | 0 0
  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. ;; To install a package directly from a remote git repo, you must specify a
  13. ;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
  14. ;; https://github.com/radian-software/straight.el#the-recipe-format
  15. ;; (package! another-package
  16. ;;   :recipe (:host github :repo "username/repo"))
  17.  
  18. ;; If the package you are trying to install does not contain a PACKAGENAME.el
  19. ;; file, or is located in a subdirectory of the repo, you'll need to specify
  20. ;; `:files' in the `:recipe':
  21. ;; (package! this-package
  22. ;;   :recipe (:host github :repo "username/repo"
  23. ;;            :files ("some-file.el" "src/lisp/*.el")))
  24.  
  25. ;; If you'd like to disable a package included with Doom, you can do so here
  26. ;; with the `:disable' property:
  27. ;; (package! builtin-package :disable t)
  28.  
  29. ;; You can override the recipe of a built in package without having to specify
  30. ;; all the properties for `:recipe'. These will inherit the rest of its recipe
  31. ;; from Doom or MELPA/ELPA/Emacsmirror:
  32. ;; (package! builtin-package :recipe (:nonrecursive t))
  33. ;; (package! builtin-package-2 :recipe (:repo "myfork/package"))
  34.  
  35. ;; Specify a `:branch' to install a package from a particular branch or tag.
  36. ;; This is required for some packages whose default branch isn't 'master' (which
  37. ;; our package manager can't deal with; see radian-software/straight.el#279)
  38. ;; (package! builtin-package :recipe (:branch "develop"))
  39.  
  40. ;; Use `:pin' to specify a particular commit to install.
  41. ;; (package! builtin-package :pin "1a2b3c4d5e")
  42.  
  43.  
  44. ;; Doom's packages are pinned to a specific commit and updated from release to
  45. ;; release. The `unpin!' macro allows you to unpin single packages...
  46. ;; (unpin! pinned-package)
  47. ;; ...or multiple packages
  48. ;; (unpin! pinned-package another-pinned-package)
  49. ;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
  50. ;; (unpin! t)
  51.  
  52. (package! arduino-mode)
  53. (package! svelte-mode)
  54. ;; Pyright LSP
  55. (package! lsp-pyright :recipe (:host github :repo "emacs-lsp/lsp-pyright"))
  56.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement