diff options
author | Alan Pearce | 2017-06-26 08:56:37 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-26 08:56:37 +0200 |
commit | 61953fab3d89f33468a854d512a4a8e3c36e258d (patch) | |
tree | 3c52867b22e2e10c316a718717df005de37b3906 | |
parent | 25ee213cb3c97ef29431619951596e22e06fe192 (diff) | |
download | dotfiles-61953fab3d89f33468a854d512a4a8e3c36e258d.tar.lz dotfiles-61953fab3d89f33468a854d512a4a8e3c36e258d.tar.zst dotfiles-61953fab3d89f33468a854d512a4a8e3c36e258d.zip |
Emacs: Improve emmet-mode setup
-rw-r--r-- | emacs/.emacs.d/init.org | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 8cc0a7c..3d3cb5e 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 |