Fix paredit not loading or diminishing
This commit is contained in:
parent
f46cfb62ff
commit
31a01d0e79
@ -467,16 +467,18 @@ targets."
|
|||||||
|
|
||||||
;; parentheses settingses
|
;; parentheses settingses
|
||||||
(use-package paredit
|
(use-package paredit
|
||||||
:defer 0.1
|
:diminish
|
||||||
:general (general-define-key
|
:general (general-define-key
|
||||||
:states 'normal
|
:states 'normal
|
||||||
"M-j" 'paredit-forward-slurp-sexp
|
"M-j" 'paredit-forward-slurp-sexp
|
||||||
"M-k" 'paredit-forward-barf-sexp
|
"M-k" 'paredit-forward-barf-sexp
|
||||||
"M-h" 'paredit-backward-barf-sexp
|
"M-h" 'paredit-backward-barf-sexp
|
||||||
"M-l" 'paredit-backward-slurp-sexp)
|
"M-l" 'paredit-backward-slurp-sexp)
|
||||||
:config
|
:hook (prog-mode . paredit-mode)
|
||||||
|
:init
|
||||||
(show-paren-mode 1)
|
(show-paren-mode 1)
|
||||||
(paredit-mode 1)
|
(paredit-mode 1)
|
||||||
|
(electric-pair-mode 1)
|
||||||
:custom
|
:custom
|
||||||
(show-paren-delay 0)
|
(show-paren-delay 0)
|
||||||
(show-paren-style 'parenthesis))
|
(show-paren-style 'parenthesis))
|
||||||
|
Loading…
Reference in New Issue
Block a user