forked from doomemacs/doomemacs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.doom
More file actions
122 lines (116 loc) · 4.74 KB
/
.doom
File metadata and controls
122 lines (116 loc) · 4.74 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
"3.0.0-pre"
((name . doom)
(version . "3.0.0-pre")
(homepage . "https://doomemacs.org")
(commit
(preset doom-conventional-commits)
(types "module")
(scopes "cli" "lib"
(module)
(release "modules")
(docs
"install"
(lambda (scope _plist)
"Allow any filename in docs/* as a scope for docs commits."
(member
scope (doom-files-in (doom-path (dir!) "../docs")
:match "\\.org$"
:map #'file-name-base))))
(lambda (scope _plist)
"Only allow :CATEGORY or MODULE scopes if they actually exist."
(doom-glob
(dir!) "modules" (if (string-prefix-p ":" scope)
(format "%s" (substring scope 1))
(format "*/%s" scope))))))
(make
("LICENSE"
"The MIT License (MIT)\n"
,(lambda (_)
(insert (format-time-string "Copyright (c) 2014-%Y Henrik Lissner.\n\n")))
"Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
\"Software\"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:\n"
"The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.\n"
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.")
(".github/CODEOWNERS"
"# -*- mode: conf -*-"
"# Auto-generated by 'doom make .github/CODEOWNERS', do not edit it by hand.\n"
"* @doomemacs/maintainers\n" ; default until another takes precedence
"# Module maintainers"
,(lambda (rc)
(mapc (lambda (line) (insert line "\n"))
(cl-sort
(cl-loop for path in (doom-module-load-path (list doom-modules-dir))
if (string-match "/modules/\\([^/]+\\)/\\([^/]+\\)$" path)
collect (format "%-35s @doomemacs/%s-%s"
(substring (match-string 0 path) 1)
(match-string 1 path)
(match-string 2 path)))
#'string-lessp)))))
(publish
(targets "docs/index.org" "docs" "modules/*/README.org")
(env
(global-menus
("± Suggest edits" . "doom-suggest-edit:")
("? Help"
. ,(lambda! (&key title)
(cond ((equal title "Changelog") "doom-help-changelog:")
((string-prefix-p ":" title) "doom-help-modules:")
("doom-help:")))))
(menus
(("docs/*.org" "modules/README.org")
(left ("← Back to index" . "doom-index:")))
("docs/index.org"
(left ("↖ FAQ" . "doom-faq:")))
("modules/*/README.org"
(left ("← Back to module index" . "doom-module-index:")))
("modules/*/*/README.org"
(left ("← Back to module index" . "doom-module-index:"))
(right ("↖ History"
. ,(lambda! (&key category module)
(format "doom-module-history:%s/%s" (doom-keyword-name category) module)))
("! Issues"
. ,(lambda! (&key category module)
(format "doom-module-issues::%s %s" category module))))))))
(sources
(doom
(title . "Doom Core Modules")
(version . "25.01.0-pre")
(paths "lisp/" "lisp/modules/*/"))
(doom+
(title . "Doom Official Modules")
(version . "25.01.0-pre")
(paths "modules/*/" "modules/*/*/"))
(doom++
(title . "Doom Community Modules")
(version . "25.01.0-pre")
(paths "modules/*/" "modules/*/*/")))
(profiles
(test
(sources doom)
(modules :doom (cli +ci +buttercup))
(packages)))
(packages
(straight :host github
:repo "radian-software/straight.el"
:branch "develop"
:local-repo "straight.el"
:files ("straight*.el")
:pin "33fb4695066781c634ff1c3c81ba96e880deccf7")
;; (elpaca :repo "https://github.com/progfolio/elpaca.git"
;; :pin "34b1d1b19d24470758b62ab1d10ed70068186c12"
;; :depth 1
;; :files (:defaults "elpaca-test.el" (:exclude "extensions"))
;; :build (:not elpaca--activate-package))
))