diff options
author | Alan Pearce | 2014-12-24 16:35:15 +0000 |
---|---|---|
committer | Alan Pearce | 2014-12-24 16:35:15 +0000 |
commit | ecb5a69b89c6357fecee4401f8a3ae9d9e07b51d (patch) | |
tree | 14833543c669ba5ef43083566ab87ef6d1b6671b | |
parent | ed02bd17f9efa86b1f3ec525b079f0597efc923a (diff) | |
download | nixfiles-ecb5a69b89c6357fecee4401f8a3ae9d9e07b51d.tar.lz nixfiles-ecb5a69b89c6357fecee4401f8a3ae9d9e07b51d.tar.zst nixfiles-ecb5a69b89c6357fecee4401f8a3ae9d9e07b51d.zip |
Emacs: Configure twig tag pairs
-rw-r--r-- | tag-emacs/emacs.d/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index b7ebbefc..16bfb9f2 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))) |