From 998ecc326157a02ffe2814b9d4551ce954c2fd16 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Thu, 10 Apr 2025 18:14:27 -0400 Subject: dir-locals: set js variables that don't work. i don't know why, but they should. --- .dir-locals.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.dir-locals.el') 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)))) -- cgit v1.3