Emacs: Improve emmet-mode setup
Alan Pearce alan@alanpearce.eu
Mon, 26 Jun 2017 08:56:37 +0200
1 files changed, 3 insertions(+), 2 deletions(-)
jump to
M emacs/.emacs.d/init.org → emacs/.emacs.d/init.org
@@ -2290,8 +2290,9 @@ (use-package emmet-mode :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