summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/custom/fcuny-git.el8
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:
 ;;