all repos — nixfiles @ ecb5a69b89c6357fecee4401f8a3ae9d9e07b51d

System and user configuration, managed by nix and home-manager

Emacs: Configure twig tag pairs

Alan Pearce
commit

ecb5a69b89c6357fecee4401f8a3ae9d9e07b51d

parent

ed02bd17f9efa86b1f3ec525b079f0597efc923a

1 file changed, 3 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -1122,6 +1122,9 @@ (bind-key "M-<up>" #'sp-splice-sexp-killing-backward sp-keymap)
(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)))