summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.dir-locals.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 400c775..55b82b2 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,4 +1,7 @@
;;; Directory Local Variables -*- no-byte-compile: t -*-
;;; For more information see (info "(emacs) Directory Variables")
-((nil . ((compile-command . "make serve"))))
+((nil . ((compile-command . "make serve")))
+ (js-base-mode . ((js-indent-level . 4)
+ (js-chain-indent . t)
+ (js-indent-first-init . dynamic))))