From 92b1d1d7d03a1fb9194314c9997e21f996c7dce8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 22 Mar 2018 06:34:19 -0400 Subject: [PATCH] tools/magit: initialize magithub variables sooner --- modules/tools/magit/config.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/tools/magit/config.el b/modules/tools/magit/config.el index cb5d45f05..153921f49 100644 --- a/modules/tools/magit/config.el +++ b/modules/tools/magit/config.el @@ -33,12 +33,13 @@ (def-package! magithub :commands (magithub-clone magithub-feature-autoinject) :after magit - :config - (load "magithub-autoloads" nil t) - (magithub-feature-autoinject t) + :init (setq magithub-dir (concat doom-etc-dir "magithub/") magithub-clone-default-directory "~/" - magithub-preferred-remote-method 'clone_url)) + magithub-preferred-remote-method 'clone_url) + :config + (load "magithub-autoloads" nil t) + (magithub-feature-autoinject t)) (def-package! evil-magit