about summary refs log tree commit diff
path: root/tools/emacs/config
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-15T22·40+0000
committerVincent Ambo <tazjin@google.com>2019-12-15T22·54+0000
commit9f8542fe75e5d4c166316983093e26e37bdd332d (patch)
treecab3718925de315e7476547b8e5843c5d6908a2d /tools/emacs/config
parent97555884e24a1dfc47975d212c418d8577305693 (diff)
chore(emacs.d): Remove smartparens
I actually find a lot of its behaviour very annoying, rather than
smart. Good old electric-pair-mode usually does what I want.
Diffstat (limited to 'tools/emacs/config')
-rw-r--r--tools/emacs/config/init.el1
-rw-r--r--tools/emacs/config/modes.el3
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/emacs/config/init.el b/tools/emacs/config/init.el
index 19ae1e056be3..253cea7e7cee 100644
--- a/tools/emacs/config/init.el
+++ b/tools/emacs/config/init.el
@@ -54,7 +54,6 @@
 (use-package rainbow-delimiters :hook (prog-mode . rainbow-delimiters-mode))
 (use-package rainbow-mode)
 (use-package s)
-(use-package smartparens :config (smartparens-global-mode))
 (use-package string-edit)
 (use-package telephone-line) ;; configuration happens outside of use-package
 (use-package undo-tree :config (global-undo-tree-mode))
diff --git a/tools/emacs/config/modes.el b/tools/emacs/config/modes.el
index 19ed2a684349..ceef84b9626d 100644
--- a/tools/emacs/config/modes.el
+++ b/tools/emacs/config/modes.el
@@ -19,8 +19,7 @@
 (show-paren-mode 1)
 
 ;; Always auto-close parantheses and other pairs
-;; (replaced by smartparens)
-;; (electric-pair-mode)
+(electric-pair-mode)
 
 ;; Keep track of recent files
 (recentf-mode)