From 0f437d1346856cf15300f767ef80ff749048461c Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 3 Jan 2022 22:36:52 -0600 Subject: Break out forge config into its own thing --- init.el | 17 +++++++++-------- 1 file 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 @@ ;; This setup is weird because of dependency issues (:straight (transient :host github :repo "magit/transient" :branch "master") (magit :host github :repo "magit/magit") - (git-modes :host github :repo "magit/git-modes")) - (when (eq system-type 'gnu/linux) - (:straight (forge :host github :repo "magit/forge")) - (with-eval-after-load 'magit - (require 'forge) - (add-to-list 'forge-alist - '("tildegit.org" "tildegit.org/api/v1" "tildegit.org" - forge-gitea-repository))))) + (git-modes :host github :repo "magit/git-modes"))) (setup minibuffer (:require +minibuffer) @@ -897,6 +890,14 @@ See also `crux-reopen-as-root-mode'." :repo "duckwork/filldent.el")) (:+key "M-q" #'filldent-dwim)) +(setup (:straight-when (forge + :host github :repo "magit/forge") + (eq system-type 'gnu/linux)) + (require 'forge) + (add-to-list 'forge-alist + '("tildegit.org" "tildegit.org/api/v1" "tildegit.org" + forge-gitea-repository))) + (setup (:straight (frowny :host github :repo "duckwork/frowny.el")) -- cgit 1.4.1-21-gabe81