aboutsummaryrefslogtreecommitdiff
path: root/tw
diff options
context:
space:
mode:
authorTimo Wilken2023-11-21 22:27:33 +0100
committerTimo Wilken2023-11-21 22:27:33 +0100
commit3ce92c3c7a1d80cea0cb3063265e6b0f0ccfc837 (patch)
tree715c7972b664f9488e6776f4816888d3d493b7de /tw
parent4267ecbfb60827dd9d85070cf2fa7bff74a6b729 (diff)
Fix CSS indent
Diffstat (limited to 'tw')
-rw-r--r--tw/home/files/emacs-init.el4
1 files changed, 3 insertions, 1 deletions
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")