From 801188ed90116da9c696fdaf81e26cd137437be1 Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Thu, 12 Sep 2024 12:36:50 +0200 Subject: [PATCH] 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 . --- config_new.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config_new.org b/config_new.org index 688035d..de2f4e0 100644 --- a/config_new.org +++ b/config_new.org @@ -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