aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-js-two.el
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-07-08 14:40:19 -0500
committerJesús <heckyel@hyperbola.info>2021-07-08 14:40:19 -0500
commitb4d28e2324a233fd6fbcba132028d10ab2009dd6 (patch)
tree9b5962615fdc8548372de0479e58d8e7a84b7457 /modules/init-js-two.el
parent94347e9e735dc86da8ff0400da5b7e0fcf4b93cf (diff)
downloademacs-personal-b4d28e2324a233fd6fbcba132028d10ab2009dd6.tar.lz
emacs-personal-b4d28e2324a233fd6fbcba132028d10ab2009dd6.tar.xz
emacs-personal-b4d28e2324a233fd6fbcba132028d10ab2009dd6.zip
change to 2 spaces in javascript
Diffstat (limited to 'modules/init-js-two.el')
-rw-r--r--modules/init-js-two.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/init-js-two.el b/modules/init-js-two.el
index eba6ed6..fef9bb9 100644
--- a/modules/init-js-two.el
+++ b/modules/init-js-two.el
@@ -13,8 +13,8 @@
(company-mode))))
:config
;; have 4 space indentation by default
- (setq js-indent-level 4
- js2-basic-offset 4
+ (setq js-indent-level 2
+ js2-basic-offset 2
js-chain-indent t)
;; use eslint_d insetad of eslint for faster linting