Files
.emacs.d/modules/version-control/siren-forge.el
Jim Myhrberg 90441a2590 feat(version-control): add gh-notify package
Also configure forge's dispatch menu to have a keybind for triggering
gh-notify.
2021-12-27 19:27:50 +00:00

40 lines
848 B
EmacsLisp

;;; siren-forge.el --- jimeh's Emacs Siren: forge configuration
;;; Commentary:
;; Basic configuration for forge.
;;; Code:
(require 'siren-gh-notify)
(require 'siren-magit)
(use-package forge
:defer t
:after magit
:custom
(forge-database-file (expand-file-name
"forge-database.sqlite" siren-cache-dir))
:config
(transient-insert-suffix 'forge-dispatch '(1)
["GitHub"
("g n" "notifications" gh-notify)]))
(use-package forge-post
:straight forge
:defer t
:hook
(forge-post-mode . siren-forge-post-mode-setup)
:init
(defun siren-forge-post-mode-setup ()
(setq-local prettier-js-args '("--parser" "markdown"
"--print-width" "80"
"--prose-wrap" "always"))))
(provide 'siren-forge)
;;; siren-forge.el ends here