summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-06-08 13:54:04 +0100
committerAlan Pearce2013-06-08 13:54:04 +0100
commit34bb5369da5ed09c712131e9b076db949f208e7e (patch)
treebeeb48053ba6ad80a5b26aeb91a06bdcc6ac1e81 /emacs
parentc69634f046284580989ae7c7cd6705bbd0f2b243 (diff)
downloaddotfiles-34bb5369da5ed09c712131e9b076db949f208e7e.tar.lz
dotfiles-34bb5369da5ed09c712131e9b076db949f208e7e.tar.zst
dotfiles-34bb5369da5ed09c712131e9b076db949f208e7e.zip
Emacs: globally highlight matching parentheses
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 641cdc2..1b33543 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -790,6 +790,8 @@ Also returns nil if pid is nil."
 ;; replace highlighted text rather than just inserting at point
 (delete-selection-mode t)
 
+(show-paren-mode t)
+
 (bind-key "S-SPC" #'set-mark-command)
 
 (use-package subword
@@ -892,7 +894,6 @@ Also returns nil if pid is nil."
 
 (defun ap/lisp-setup ()
   (run-hooks 'lisp-common-mode-hook)
-  (show-paren-mode t)
   (setq indent-tabs-mode nil)
   (local-set-key (kbd "RET") #'paredit-newline))