forked from doomemacs/themes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.doomrc
25 lines (22 loc) · 928 Bytes
/
.doomrc
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
;;; .doomrc --- doom runtime config -*- mode: emacs-lisp; lexical-binding: t; -*-
;;; Commentary:
;;; Code:
(require 'doom) ; be silent, byte-compiler
(after! doom-cli-ci
;;; Types
(add-to-list 'doom-ci-commit-types 'theme)
(add-to-list 'doom-ci-commit-scopeless-types 'theme)
;;; Scopes
(add-to-list 'doom-ci-commit-scopes "base")
(cl-loop with default-directory = (dir!)
for file in (doom-files-in "themes/" :match "-theme\\.el$")
if (file-name-base file)
if (string-remove-prefix "doom-" it)
if (string-remove-suffix "-theme" it)
do (add-to-list 'doom-ci-commit-scopes it))
(cl-loop with default-directory = (dir!)
for file in (doom-files-in "extensions/" :match "\\.el$")
if (file-name-base file)
if (string-remove-prefix "doom-themes-" it)
do (add-to-list 'doom-ci-commit-scopes it)))
;;; .doomrc ends here