From 3f31086dd8910941146b3d473eaabe663dd39dd6 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Tue, 2 May 2023 16:31:30 +1000 Subject: [PATCH] Set Emacs defaults for CSS/HTML spacing --- .dir-locals.el | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .dir-locals.el diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 00000000..1e9e7daa --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,5 @@ +;;; Directory Local Variables -*- no-byte-compile: t -*- +;;; For more information see (info "(emacs) Directory Variables") + +((web-mode . ((web-mode-css-indent-offset . 4) + (web-mode-markup-indent-offset . 2))))