summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index aa3fb1d..24e3e28 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1934,7 +1934,10 @@ of them as well.
                   web-mode-style-padding 0
                   web-mode-script-padding 0
                   web-mode-comment-style 2
-                  web-mode-enable-auto-pairing nil))
+                  web-mode-enable-auto-pairing nil
+                  (with-eval-after-load 'smartparens
+                    (sp-with-modes sp--html-modes
+                      (sp-local-pair "<%" "%>")))))
 #+END_SRC
 
 I derived a mode for twig, in order to use its =mode-hook=.