about summary refs log tree commit diff
path: root/init/modes.el
diff options
context:
space:
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)