diff options
author | Timo Wilken | 2023-11-21 22:27:33 +0100 |
---|---|---|
committer | Timo Wilken | 2023-11-21 22:27:33 +0100 |
commit | 3ce92c3c7a1d80cea0cb3063265e6b0f0ccfc837 (patch) | |
tree | 715c7972b664f9488e6776f4816888d3d493b7de /tw/home | |
parent | 4267ecbfb60827dd9d85070cf2fa7bff74a6b729 (diff) |
Fix CSS indent
Diffstat (limited to 'tw/home')
-rw-r--r-- | tw/home/files/emacs-init.el | 4 |
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") |