Update :feature version-control to support module flags

This commit is contained in:
Henrik Lissner 2017-07-29 00:27:20 +02:00
parent 87ee1a06e3
commit 5849a1fe38
2 changed files with 14 additions and 8 deletions

View file

@ -1,12 +1,17 @@
;;; feature/version-control/config.el -*- lexical-binding: t; -*-
(unless (featurep! -git)
(load! +git))
;; TODO hg support
;; (unless (featurep! -hg)
;; (load! +hg))
;;
(setq vc-make-backup-files nil)
(defvar +vcs-auto-hydra-smerge t
"When entering `smerge-mode' automatically open associated hydra.")
(load! +git)
;; (load! +hg)
(after! vc-annotate
(set! :popup

View file

@ -5,11 +5,12 @@
;; n/a
;;; +git
(package! git-gutter-fringe)
(package! git-link)
(package! git-timemachine)
(package! gitconfig-mode)
(package! gitignore-mode)
(package! magit)
(when (featurep! +git)
(package! git-gutter-fringe)
(package! git-link)
(package! git-timemachine)
(package! gitconfig-mode)
(package! gitignore-mode)
(package! magit))
;;; TODO +hg