-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackages.el
48 lines (44 loc) · 1.53 KB
/
packages.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
;; -*- no-byte-compile: t; -*-
;;; $DOOMDIR/packages.el
(package! crux)
(package! goto-line-preview)
(package! org-modern)
; (package! forge)
;(package! dap-mode
; :recipe
; (:host github :repo "elogir/dap-mode"))
;(package! gptel)
(package! v-mode)
(package! realgud)
(package! realgud-lldb)
(package! devdocs)
;; (package! treesit-auto)
(package! d-mode)
(package! org :recipe
(:host nil :repo "https://git.tecosaur.net/mirrors/org-mode.git" :remote "mirror" :fork
(:host nil :repo "https://git.tecosaur.net/tec/org-mode.git" :branch "dev" :remote "tecosaur")
:files
(:defaults "etc")
:build t :pre-build
(with-temp-file "org-version.el"
(require 'lisp-mnt)
(let
((version
(with-temp-buffer
(insert-file-contents "lisp/org.el")
(lm-header "version")))
(git-version
(string-trim
(with-temp-buffer
(call-process "git" nil t nil "rev-parse" "--short" "HEAD")
(buffer-string)))))
(insert
(format "(defun org-release () \"The release version of Org.\" %S)\n" version)
(format "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" git-version)
"(provide 'org-version)\n"))))
:pin nil)
(unpin! org)
(package! auctex)
(package! aas)
(package! toc-org)
(package! engrave-faces)