;;; .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
