ADD electric-pair mode in prog-mode

This was originally supplied by smartparens but I'm only using a
subset of this package.
The main functionality which I used from smartparens is available with
electric-pair-mode .
This commit is contained in:
Laurens Miers 2024-09-12 12:36:50 +02:00
parent 7329b044f3
commit 801188ed90

View file

@ -275,6 +275,11 @@ Install and wait for hydra to be available since we are using it in this init.el
* Programming
** Electric pair
#+BEGIN_SRC emacs-lisp
(add-hook 'prog-mode-hook 'electric-pair-mode)
#+END_SRC
** Eglot
#+BEGIN_SRC emacs-lisp