summaryrefslogtreecommitdiff
path: root/evil-collection-settings.el
diff options
context:
space:
mode:
authorJames Nguyen <james@jojojames.com>2018-01-11 19:41:26 -0800
committerJames Nguyen <james@jojojames.com>2018-01-11 19:41:26 -0800
commit885814f9d575dd14885de5281d37ba47c72159fd (patch)
tree357fe72947513ea5897acad662af00da6d75de6a /evil-collection-settings.el
parenta37e87dd2162ddb8b368cd269aac1f857c9e185e (diff)
Move setting to separate settings file
Originally, I placed this in the same file as evil-collection but was running into problems byte compiling cleanly. Instead of figuring out how to work around it, I am creating a separate settings file to add defcustoms lower level modules can consume. Ideally I can put this setting into the same evil-collection file and have the the project byte compile cleanly. I am leaving that problem for another day.
Diffstat (limited to 'evil-collection-settings.el')
-rw-r--r--evil-collection-settings.el45
1 files changed, 45 insertions, 0 deletions
diff --git a/evil-collection-settings.el b/evil-collection-settings.el
new file mode 100644
index 0000000..683f9d2
--- /dev/null
+++ b/evil-collection-settings.el
@@ -0,0 +1,45 @@
+;;; evil-collection-settings.el --- Settings for `evil-collection'. -*- lexical-binding: t -*-
+
+;; Copyright (C) 2017 James Nguyen
+
+;; Author: James Nguyen <james@jojojames.com>
+;; Maintainer: James Nguyen <james@jojojames.com>
+;; Pierre Neidhardt <ambrevar@gmail.com>
+;; URL: https://github.com/jojojames/evil-collection
+;; Version: 0.0.1
+;; Package-Requires: ((emacs "25.1"))
+;; Keywords: evil, emacs, tools
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+;;; Settings for `evil-collection'.
+(require 'evil)
+
+;;; Code:
+(defcustom evil-collection-setup-debugger-keys t
+ "Whether to bind debugger keys when debugger is active.
+
+Debugger in this case is dependent on mode.
+
+This is only relevant for debug modes that are part of another mode,
+
+e.g. `indium'. Modes like `edebug' or `realgud' needs to be explicitly disabled
+
+through removing their entry from `evil-collection-mode-list'."
+ :type 'boolean
+ :group 'evil-collection)
+
+(provide 'evil-collection-settings)
+;;; evil-collection-settings.el ends here