summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordieggsy <diegoamundo@protonmail.com>2017-12-06 11:06:27 -0500
committerJames N <james@jojojames.com>2017-12-06 09:18:36 -0800
commit77664b03ef2bbae4b95d01c3c5dd423778c9de15 (patch)
tree6c5870b581ca703a2a1446922fba10e4bb70a1c7
parent62b8b8560ea8294a0b5d7cdc28348f4b0e33aafe (diff)
Make evil-collection-mode-list customizable.
-rw-r--r--evil-collection.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/evil-collection.el b/evil-collection.el
index c7f7c5b..4a8bed5 100644
--- a/evil-collection.el
+++ b/evil-collection.el
@@ -34,7 +34,11 @@
;; (evil-minibuffer-init)
;;; Code:
-(defvar evil-collection-mode-list
+(defgroup evil-collection nil
+ "A set of keybindings for Evil mode"
+ :group 'evil)
+
+(defcustom evil-collection-mode-list
`(ag
alchemist
anaconda-mode
@@ -95,7 +99,9 @@ Elements are either target mode symbols or lists which `car' is the
mode symbol and `cdr' the packages to register.
By default, `minibuffer' is not included because many users find
-this confusing.")
+this confusing."
+ :type '(repeat (choice symbol sexp))
+ :group 'evil-collection)
;;;###autoload
(defun evil-collection-init ()