about summary refs log tree commit diff
path: root/init/modes.el
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-11-06T18·31+0100
committerVincent Ambo <tazjin@gmail.com>2017-11-06T18·31+0100
commit0338fcc89242deeed4f8e639182481d3b5a02a95 (patch)
tree48a17130b6ba9f692a97cb118dc8d7aae4cfd3d1 /init/modes.el
parent17e57e42efa30c2182e0b28ee09029db795db803 (diff)
feat(modes): Always enable electric-pair-mode
Diffstat (limited to 'init/modes.el')
-rw-r--r--init/modes.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/modes.el b/init/modes.el
index 6d542f496bae..a0ad034cda8c 100644
--- a/init/modes.el
+++ b/init/modes.el
@@ -38,6 +38,9 @@
 ;; Always highlight matching brackets
 (show-paren-mode 1)
 
+;; Always auto-close parantheses and other pairs
+(electric-pair-mode)
+
 ;; Represent undo-history as an actual tree (visualize with C-x u)
 (setq undo-tree-mode-lighter "")
 (require 'undo-tree)