summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-01-11 20:42:57 +0100
committerAlan Pearce2020-01-11 21:29:43 +0100
commita89da63bb0173969e58ae54253606dace4a8a3b0 (patch)
treed0d94be211af2184c6202a11de02bd86522db124
parent858fab63545ef351ff2a9f2786b7515d1cf3a66e (diff)
downloadnixfiles-a89da63bb0173969e58ae54253606dace4a8a3b0.tar.lz
nixfiles-a89da63bb0173969e58ae54253606dace4a8a3b0.tar.zst
nixfiles-a89da63bb0173969e58ae54253606dace4a8a3b0.zip
Emacs: Set css inndentation
-rw-r--r--user/emacs/.emacs.d/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index 473f8d53..e8a7f71e 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -776,6 +776,11 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 
 ;;;; web modes (tsx, html)
 
+(use-package css-mode
+  :defer t
+  :config (progn
+            (setq css-indent-offset 2)))
+
 (use-package web-mode
   :mode (("\\.tsx\\'" . web-mode))
   :config (setq web-mode-enable-auto-pairing nil