Explorar o código

Attach evilmagit to magit, and lazy load both

Josh Bicking %!s(int64=7) %!d(string=hai) anos
pai
achega
61571e91e0
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      emacs.d/packages/packages.el

+ 4 - 3
emacs.d/packages/packages.el

@@ -632,13 +632,14 @@
   :if (not (eq system-type 'windows-nt))
   :ensure t
   :defer t
-  :diminish magit-auto-revert-mode)
+  :diminish magit-auto-revert-mode
+  :config
+  (evil-magit-init))
 
 (use-package evil-magit
   :if (not (eq system-type 'windows-nt))
   :ensure t
-  :config
-  (evil-magit-init))
+  :commands evil-magit-init)
 
 (use-package multi-term
   :if (not (eq system-type 'windows-nt))