all repos — nixfiles @ 25ee213cb3c97ef29431619951596e22e06fe192

System and user configuration, managed by nix and home-manager

Emacs: Setup Emmet in CSS mode
Alan Pearce alan@alanpearce.eu
Fri, 23 Jun 2017 16:52:01 +0200
commit

25ee213cb3c97ef29431619951596e22e06fe192

parent

ddc67cf42b0d0a7053dc23cded37a4ed54e8f605

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -2291,7 +2291,8 @@ :commands (emmet-mode)   :diminish (emmet-mode . " >")
   :init (progn
           (setq emmet-indentation 2)
-          (add-hook 'web-mode-hook #'emmet-mode)))
+          (add-hook 'web-mode-hook #'emmet-mode)
+          (add-hook 'css-mode-hook #'emmet-mode)))
 #+END_SRC
 
 *** web-mode