diff options
author | Franck Cuny <franck@fcuny.net> | 2021-08-23 19:29:05 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-08-23 19:29:05 -0700 |
commit | 2a05e5354d9c44e1604f6212e3b49070cf5ed6a5 (patch) | |
tree | 2bf322a52c9e01e4e2ff9bbffdb1b7da01a40b74 | |
parent | git: for new repo, use 'main' for default branch (diff) | |
download | emacs.d-2a05e5354d9c44e1604f6212e3b49070cf5ed6a5.tar.gz |
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.
Diffstat (limited to '')
-rw-r--r-- | emacs/custom/fcuny-git.el | 8 |
1 files changed, 8 insertions, 0 deletions
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: ;; |