Update :feature version-control to support module flags
This commit is contained in:
parent
87ee1a06e3
commit
5849a1fe38
2 changed files with 14 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue