Fix paredit not loading or diminishing

This commit is contained in:
MitchMarq42 2022-10-09 11:52:54 -08:00
parent f46cfb62ff
commit 31a01d0e79

View File

@ -467,16 +467,18 @@ targets."
;; parentheses settingses
(use-package paredit
:defer 0.1
:diminish
:general (general-define-key
:states 'normal
"M-j" 'paredit-forward-slurp-sexp
"M-k" 'paredit-forward-barf-sexp
"M-h" 'paredit-backward-barf-sexp
"M-l" 'paredit-backward-slurp-sexp)
:config
:hook (prog-mode . paredit-mode)
:init
(show-paren-mode 1)
(paredit-mode 1)
(electric-pair-mode 1)
:custom
(show-paren-delay 0)
(show-paren-style 'parenthesis))