all repos — nixfiles @ e1b4ad7837cbb5f1db398127a18818704876b13e

System and user configuration, managed by nix and home-manager

Emacs: make web-mode settings consistent with formatter output
Alan Pearce alan@alanpearce.eu
Mon, 27 Nov 2023 08:04:04 +0100
commit

e1b4ad7837cbb5f1db398127a18818704876b13e

parent

85d1e83f311271adab7db83dcce4d8003c693936

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -883,8 +883,8 @@ :config (setq web-mode-enable-auto-pairing nil                 web-mode-code-indent-offset 2
                 web-mode-markup-indent-offset 2
                 web-mode-css-indent-offset 2
-                web-mode-style-padding 0
-                web-mode-script-padding 0
+                web-mode-style-padding 2
+                web-mode-script-padding 2
                 web-mode-engines-alist '(("go" . "\\.html?\\'"))))
 
 (use-package emmet-mode