diff options
author | Vincent Ambo <tazjin@google.com> | 2019-12-15T22·40+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-12-15T22·54+0000 |
commit | 9f8542fe75e5d4c166316983093e26e37bdd332d (patch) | |
tree | cab3718925de315e7476547b8e5843c5d6908a2d | |
parent | 97555884e24a1dfc47975d212c418d8577305693 (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.
-rw-r--r-- | tools/emacs/config/init.el | 1 | ||||
-rw-r--r-- | tools/emacs/config/modes.el | 3 | ||||
-rw-r--r-- | tools/emacs/default.nix | 1 |
3 files changed, 1 insertions, 4 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) diff --git a/tools/emacs/default.nix b/tools/emacs/default.nix index 7c494f4bc3a1..d061bbfaabec 100644 --- a/tools/emacs/default.nix +++ b/tools/emacs/default.nix @@ -65,7 +65,6 @@ let rainbow-delimiters restclient sly - smartparens string-edit swiper telephone-line |