aboutsummaryrefslogtreecommitdiffstats
path: root/_spacemacs.d
diff options
context:
space:
mode:
Diffstat (limited to '_spacemacs.d')
-rw-r--r--_spacemacs.d/init.el14
1 files changed, 13 insertions, 1 deletions
diff --git a/_spacemacs.d/init.el b/_spacemacs.d/init.el
index c449f70..3d8feb7 100644
--- a/_spacemacs.d/init.el
+++ b/_spacemacs.d/init.el
@@ -13,7 +13,7 @@
;;
;; Aaron LI
;; Created: 2016-04-30
-;; Updated: 2016-10-06
+;; Updated: 2016-10-29
;;
@@ -430,6 +430,18 @@
(setq whitespace-line-column fill-column)
(global-whitespace-mode)
;;
+ ;; Indentation settings
+ (setq-default
+ ;; `js2-mode' (JavaScript)
+ js2-basic-offset 2
+ ;; `js-mode' (JSON)
+ js-indent-level 2
+ ;; `web-mode': http://web-mode.org/
+ web-mode-markup-indent-offset 2
+ web-mode-css-indent-offset 2
+ web-mode-code-indent-offset 2
+ )
+ ;;
;; Enable `company-mode' globally
(global-company-mode)
(setq company-idle-delay 0.1)