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:
parent
7329b044f3
commit
801188ed90
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue