about summary refs log tree commit diff
path: root/users/sterni
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-03-01T15·50+0100
committerclbot <clbot@tvl.fyi>2022-03-01T18·15+0000
commit69956d9a0bb32edb4cf1775642a06fe66fa20f8b (patch)
treefdcfd52caec1f8cef8c5d907dc156cb8d9c9fc8e /users/sterni
parent7d0b38b7dab6e8ac4b2cd19540c31ef5d07476af (diff)
fix(sterni/emacs): make css mode respect tab-width r/3885
Change-Id: I72aa96f329cee2befbd7d3b9959ab5ffad1e0953
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5343
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/sterni')
-rw-r--r--users/sterni/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el
index 53ffc1693683..fa51cada37e2 100644
--- a/users/sterni/emacs/init.el
+++ b/users/sterni/emacs/init.el
@@ -15,7 +15,8 @@
 
 ;; Indent
 (setq-default indent-tabs-mode nil)
-(setq tab-width 2)
+(setq tab-width 2
+      css-indent-offset tab-width)
 
 ;; UTF-8
 (setq locale-coding-system 'utf-8)