From 69956d9a0bb32edb4cf1775642a06fe66fa20f8b Mon Sep 17 00:00:00 2001 From: sterni Date: Tue, 1 Mar 2022 16:50:44 +0100 Subject: fix(sterni/emacs): make css mode respect tab-width Change-Id: I72aa96f329cee2befbd7d3b9959ab5ffad1e0953 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5343 Reviewed-by: sterni Autosubmit: sterni Tested-by: BuildkiteCI --- users/sterni/emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit 1.4.1