summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <artur@biva.com.br>2017-03-10 13:27:08 -0300
committerArtur Malabarba <artur@biva.com.br>2017-03-10 13:27:08 -0300
commit893dae0245437c38ad898c83e0486612ea8d3125 (patch)
tree66cb0a983d5ed43f82b06dd68e2375820886b4bb
parent5959b48e94493738ead6fc91f18e70155962ffba (diff)
Add some modes to excluded modes
-rw-r--r--aggressive-indent.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/aggressive-indent.el b/aggressive-indent.el
index fbc5354..311f3d9 100644
--- a/aggressive-indent.el
+++ b/aggressive-indent.el
@@ -112,13 +112,17 @@ Please include this in your report!"
(repeat :tag "List of major-modes to avoid `electric-indent-mode'." symbol))
:package-version '(aggressive-indent . "0.3.1"))
-(defcustom aggressive-indent-excluded-modes nil
+(defcustom aggressive-indent-excluded-modes
+ '(makefile-mode
+ makefile-gmake-mode
+ text-mode
+ yaml-mode)
"Modes in which `aggressive-indent-mode' should not be activated.
This variable is only used if `global-aggressive-indent-mode' is
active. If the minor mode is turned on with the local command,
`aggressive-indent-mode', this variable is ignored."
:type '(repeat symbol)
- :package-version '(aggressive-indent . "0.3.1"))
+ :package-version '(aggressive-indent . "1.8.4"))
(defcustom aggressive-indent-protected-commands '(undo undo-tree-undo undo-tree-redo whitespace-cleanup)
"Commands after which indentation will NOT be performed.