summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--emacs/custom/my-git.el18
2 files changed, 19 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 7d005fd..f6b19cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
 /emacs/var/
 /emacs/transient/
 /emacs/eshell/
+/emacs/forge-database.sqlite
diff --git a/emacs/custom/my-git.el b/emacs/custom/my-git.el
index eb00113..348dfe7 100644
--- a/emacs/custom/my-git.el
+++ b/emacs/custom/my-git.el
@@ -27,6 +27,24 @@
   :custom
   (magit-repository-directories '(("~/workspace" . 1))))
 
+(use-package forge
+  :ensure t
+  :after (magit)
+  :custom
+  (forge-topic-list-columns
+   '(("#" 5 forge-topic-list-sort-by-number (:right-align t) number nil)
+     ("Title" 60 t nil title  nil)
+     ("State" 6 t nil state nil)
+     ("Marks" 8 t nil marks nil)
+     ("Labels" 8 t nil labels nil)
+     ("Assignees" 10 t nil assignees nil)
+     ("Updated" 10 t nill updated nil))))
+
+(with-eval-after-load 'forge
+  (push '("github.rbxs.com" "github.rbx.com/api/v3"
+          "github.rbx.com" forge-github-repository)
+        forge-alist))
+
 (use-package git-commit
   :ensure t
   :after magit