tools/magit: gate magithub behind +hub flag

Use +magit-hub-features to customize which features to load. Set it to
`t` to load all features.
This commit is contained in:
Henrik Lissner 2018-05-31 21:29:28 +02:00
parent 5c8ff3ada3
commit 1a28a0c088
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 14 additions and 3 deletions

View file

@ -2,7 +2,8 @@
;;; tools/magit/packages.el
(when (package! magit)
(package! magithub)
(package! magit-gitflow)
(when (featurep! +hub)
(package! magithub))
(when (featurep! :feature evil)
(package! evil-magit)))