summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.org3
1 files changed, 1 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index d89022e..12e0772 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1960,8 +1960,7 @@ of them as well.
                     web-mode-comment-style 2
                     web-mode-enable-auto-pairing nil
                     web-mode-enable-auto-quoting nil)
-              (sp-with-modes sp--html-modes
-                (sp-local-pair "<%" "%>"))))
+              (sp-local-pair '(web-mode) "<%" "%>")))
 #+END_SRC
 
 I derived a mode for twig, in order to use its =mode-hook=.