Disable parinfer and use smartparens

This commit is contained in:
Tobias Ostner 2023-11-13 08:02:54 +01:00
parent 1a1fcc8d3d
commit 2482ae8187

View file

@ -486,6 +486,7 @@
:after org) :after org)
(use-package parinfer-rust-mode (use-package parinfer-rust-mode
:disabled t
:hook (lisp-mode emacs-lisp-mode clojure-mode) :hook (lisp-mode emacs-lisp-mode clojure-mode)
:init :init
;; https://github.com/justinbarclay/parinfer-rust-mode/issues/43#issuecomment-1054303553 ;; https://github.com/justinbarclay/parinfer-rust-mode/issues/43#issuecomment-1054303553
@ -523,6 +524,13 @@
:init :init
(savehist-mode)) (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 (use-package so-long
:config :config
(global-so-long-mode)) (global-so-long-mode))