From 3ce92c3c7a1d80cea0cb3063265e6b0f0ccfc837 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Tue, 21 Nov 2023 22:27:33 +0100 Subject: Fix CSS indent --- tw/home/files/emacs-init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tw/home/files/emacs-init.el') diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el index d7e375f2..001422e4 100644 --- a/tw/home/files/emacs-init.el +++ b/tw/home/files/emacs-init.el @@ -420,7 +420,9 @@ If CREATE is true and the resulting directory does not exist, create it." :magic ((rx "#%Module1.0") . tcl-mode)) (use-package web-mode - :mode (rx "." (or "htm" "html" "js" "css" "scss") eos)) + :mode (rx "." (or "htm" "html" "js" "css" "scss") eos) + :custom + (web-mode-css-indent-offset 2 "Indent CSS by two spaces.")) (use-package yaml-mode :mode (rx (or (seq ".y" (? "a") "ml") -- cgit v1.2.3