From e05a22c2b48f75dbb9f5afce72445d2c6326dd7e Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 20 Jan 2019 02:28:38 -0500 Subject: [PATCH] Enable sgml-electric-pair mode in web-mode, sgml-mode, and nxml-mode --- .emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index fba0f76..d5a4b14 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -71,6 +71,8 @@ (setq ibuffer-show-empty-filter-groups nil)))) (use-package sgml-mode + :hook ((sgml-mode nxml-mode html-mode web-mode) + . sgml-electric-tag-pair-mode) :config (setq sgml-basic-offset 4))