From 19fc2938e9c9f50ba16cee891e37d5d064578147 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 10 Nov 2018 00:04:10 +0800 Subject: spacemacs: Tweak js mode indentation --- _spacemacs.d/init.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to '_spacemacs.d') diff --git a/_spacemacs.d/init.el b/_spacemacs.d/init.el index 5f55dcf..00b2202 100644 --- a/_spacemacs.d/init.el +++ b/_spacemacs.d/init.el @@ -475,11 +475,8 @@ ;; Indentation settings (setq-default - ;; `js2-mode' (JavaScript) - js2-basic-offset 2 - ;; `js-mode' (JSON) - js-indent-level 2 - ;; `web-mode': http://web-mode.org/ + js2-basic-offset 4 + js-indent-level 4 web-mode-markup-indent-offset 2 web-mode-css-indent-offset 2 web-mode-code-indent-offset 2 -- cgit v1.2.2