From 61953fab3d89f33468a854d512a4a8e3c36e258d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 26 Jun 2017 08:56:37 +0200 Subject: Emacs: Improve emmet-mode setup --- emacs/.emacs.d/init.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 8cc0a7c3..3d3cb5e0 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -2290,8 +2290,9 @@ frameworks that require multiple nested elements to do anything useful. :commands (emmet-mode) :diminish (emmet-mode . " >") :init (progn - (setq emmet-indentation 2) - (add-hook 'web-mode-hook #'emmet-mode) + (setq emmet-indentation 2 + emmet-self-closing-tag-style " /") + (add-hook 'sgml-mode-hook #'emmet-mode) (add-hook 'css-mode-hook #'emmet-mode))) #+END_SRC -- cgit 1.4.1