all repos — nixfiles @ a89da63bb0173969e58ae54253606dace4a8a3b0

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

Emacs: Set css inndentation
Alan Pearce alan@alanpearce.eu
Sat, 11 Jan 2020 20:42:57 +0100
commit

a89da63bb0173969e58ae54253606dace4a8a3b0

parent

858fab63545ef351ff2a9f2786b7515d1cf3a66e

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M user/emacs/.emacs.d/init.eluser/emacs/.emacs.d/init.el
@@ -776,6 +776,11 @@ org-journal-dir "~/Documents/journal")) 
 ;;;; 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