summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index b7ebbef..16bfb9f 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -1122,6 +1122,9 @@ symbol, not word, as I need this for programming the most."
             (bind-key "M-<down>" #'sp-splice-sexp-killing-forward sp-keymap)
             (bind-key "C-M-S-k" #'sp-kill-hybrid-sexp sp-keymap)
             (bind-key "C-S-<right>" #'sp-slurp-hybrid-sexp sp-keymap)
+            (sp-with-modes '(web-mode twig-mode)
+              (sp-local-pair "{%" "%}")
+              (sp-local-pair "{{" "}}"))
             (show-smartparens-global-mode t)
             (smartparens-global-strict-mode t)
             (add-hook 'lisp-mode-common-hook #'turn-off-smartparens-mode)))