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
|
||||
|
||||
** Electric pair
|
||||
|
||||
#+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
|
||||
|
||||
** Eglot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue