From 2a05e5354d9c44e1604f6212e3b49070cf5ed6a5 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 23 Aug 2021 19:29:05 -0700 Subject: emacs: use the package `forge' This packages help interacting with various forges. We add a new entry to the default list for our own gitea instance. --- emacs/custom/fcuny-git.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'emacs') diff --git a/emacs/custom/fcuny-git.el b/emacs/custom/fcuny-git.el index 7cc0feb..340da9c 100644 --- a/emacs/custom/fcuny-git.el +++ b/emacs/custom/fcuny-git.el @@ -76,6 +76,14 @@ (setq-local fill-column 72) (setq-local comment-auto-fill-only-comments nil))) +(use-package forge + :ensure t + :after (magit) + :custom + (forge-database-file (expand-file-name "forge-database-file.sqlite" fcuny/path-emacs-var)) + :config + (add-to-list 'forge-alist '("git.fcuny.net:222" "git.fcuny.net/api/v1" "git.fcuny.net" forge-gitea-repository))) + ;; from https://sideshowcoder.com/2020/07/02/opening-sourcegraph-from-emacs/ ;; in a repo, add the following in .git/config: ;; -- cgit 1.4.1