summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-01-03 22:36:52 -0600
committerCase Duckworth2022-01-03 22:36:52 -0600
commit0f437d1346856cf15300f767ef80ff749048461c (patch)
treeb4de766906efa35d1a18542359cbcd82f3e3182f
parentAdd imenu-generic-expression to eshell (diff)
downloademacs-0f437d1346856cf15300f767ef80ff749048461c.tar.gz
emacs-0f437d1346856cf15300f767ef80ff749048461c.zip
Break out forge config into its own thing
-rw-r--r--init.el17
1 files changed, 9 insertions, 8 deletions
diff --git a/init.el b/init.el index e7d9d9e..36bfff0 100644 --- a/init.el +++ b/init.el
@@ -336,14 +336,7 @@
336 ;; This setup is weird because of dependency issues 336 ;; This setup is weird because of dependency issues
337 (:straight (transient :host github :repo "magit/transient" :branch "master") 337 (:straight (transient :host github :repo "magit/transient" :branch "master")
338 (magit :host github :repo "magit/magit") 338 (magit :host github :repo "magit/magit")
339 (git-modes :host github :repo "magit/git-modes")) 339 (git-modes :host github :repo "magit/git-modes")))
340 (when (eq system-type 'gnu/linux)
341 (:straight (forge :host github :repo "magit/forge"))
342 (with-eval-after-load 'magit
343 (require 'forge)
344 (add-to-list 'forge-alist
345 '("tildegit.org" "tildegit.org/api/v1" "tildegit.org"
346 forge-gitea-repository)))))
347 340
348(setup minibuffer 341(setup minibuffer
349 (:require +minibuffer) 342 (:require +minibuffer)
@@ -897,6 +890,14 @@ See also `crux-reopen-as-root-mode'."
897 :repo "duckwork/filldent.el")) 890 :repo "duckwork/filldent.el"))
898 (:+key "M-q" #'filldent-dwim)) 891 (:+key "M-q" #'filldent-dwim))
899 892
893(setup (:straight-when (forge
894 :host github :repo "magit/forge")
895 (eq system-type 'gnu/linux))
896 (require 'forge)
897 (add-to-list 'forge-alist
898 '("tildegit.org" "tildegit.org/api/v1" "tildegit.org"
899 forge-gitea-repository)))
900
900(setup (:straight (frowny 901(setup (:straight (frowny
901 :host github 902 :host github
902 :repo "duckwork/frowny.el")) 903 :repo "duckwork/frowny.el"))