summaryrefslogtreecommitdiff
path: root/tw/home
diff options
context:
space:
mode:
Diffstat (limited to 'tw/home')
-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")