diff options
author | Aaron LI <aly@aaronly.me> | 2018-11-10 00:04:10 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-11-10 00:04:10 +0800 |
commit | 19fc2938e9c9f50ba16cee891e37d5d064578147 (patch) | |
tree | 1de18185f72d3c97f17f852455d6bda097bc4af6 /_spacemacs.d | |
parent | 4ff9b3b25543359f97533705479f686bab68af62 (diff) | |
download | dotfiles-19fc2938e9c9f50ba16cee891e37d5d064578147.tar.bz2 |
spacemacs: Tweak js mode indentation
Diffstat (limited to '_spacemacs.d')
-rw-r--r-- | _spacemacs.d/init.el | 7 |
1 files changed, 2 insertions, 5 deletions
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 |