Emacs: Add forge.

This commit is contained in:
tastytea 2019-11-20 04:52:28 +01:00
parent 5cbaa31e8e
commit c9d1d2003e

View File

@ -1,6 +1,6 @@
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*- ;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
;; Time-stamp: <2019-11-09T21:31:01+00:00> ;; Time-stamp: <2019-11-20T03:33:55+00:00>
;;; Commentary: ;;; Commentary:
@ -253,9 +253,22 @@
;; Show TODOs in magit-status. ;; Show TODOs in magit-status.
(use-package magit-todos (use-package magit-todos
:after magit
:hook :hook
(magit-mode . magit-todos-mode) (magit-mode . magit-todos-mode)
) )
;; Work with Git forges from Magit.
(use-package forge
:pin melpa ; <https://github.com/magit/forge/issues/8>
:after magit
:config
(add-to-list 'forge-alist '("schlomp.space" "schlomp.space/api/v1"
"schlomp.space" forge-gitea-repository))
)
) ; unless slow-computer. ) ; unless slow-computer.
(provide 'programming/common) (provide 'programming/common)