summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-06-23 16:52:01 +0200
committerAlan Pearce2017-06-23 16:52:01 +0200
commit25ee213cb3c97ef29431619951596e22e06fe192 (patch)
tree0b226493f658cb02a5f4635636ba42beee4d1e1f /emacs
parentddc67cf42b0d0a7053dc23cded37a4ed54e8f605 (diff)
downloadnixfiles-25ee213cb3c97ef29431619951596e22e06fe192.tar.lz
nixfiles-25ee213cb3c97ef29431619951596e22e06fe192.tar.zst
nixfiles-25ee213cb3c97ef29431619951596e22e06fe192.zip
Emacs: Setup Emmet in CSS mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 4b568fe9..8cc0a7c3 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -2291,7 +2291,8 @@ frameworks that require multiple nested elements to do anything useful.
   :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