fix: refeactor electric pair
It's a built-in package, so we can provide a proper configuration section using use-package.
This commit is contained in:
parent
c809f480bd
commit
28b6168110
1 changed files with 5 additions and 1 deletions
|
|
@ -696,8 +696,12 @@ https://github.com/victorhge/iedit
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Electric pair
|
** Electric pair
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-hook 'prog-mode-hook 'electric-pair-mode)
|
(use-package elec-pair
|
||||||
|
:ensure nil
|
||||||
|
:defer t
|
||||||
|
:hook (prog-mode-hook . electric-pair-mode))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Eglot
|
** Eglot
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue