From 2482ae81876642eb28d6d3eada437c0c9f247060 Mon Sep 17 00:00:00 2001 From: Tobias Ostner Date: Mon, 13 Nov 2023 08:02:54 +0100 Subject: [PATCH] Disable parinfer and use smartparens --- .emacs.d/init.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 30a027c..3ceb7b4 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -486,6 +486,7 @@ :after org) (use-package parinfer-rust-mode + :disabled t :hook (lisp-mode emacs-lisp-mode clojure-mode) :init ;; https://github.com/justinbarclay/parinfer-rust-mode/issues/43#issuecomment-1054303553 @@ -523,6 +524,13 @@ :init (savehist-mode)) +(use-package smartparens + :hook ((prog-mode . smartparens-mode)) + :config + (require 'smartparens-config) + (setq sp-base-key-bindings 'paredit) + (sp-use-paredit-bindings)) + (use-package so-long :config (global-so-long-mode))