aboutsummaryrefslogtreecommitdiffstats
path: root/.dir-locals.el
diff options
context:
space:
mode:
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..058923b
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,10 @@
+;;; Directory Local Variables -*- no-byte-compile: t -*-
+;;; For more information see (info "(emacs) Directory Variables")
+
+((nil . ((compile-command . "make serve")
+ ;; https://rust-analyzer.github.io/book/configuration.html
+ (eglot-workspace-configuration
+ . (:rust-analyzer ( :typing (:triggerChars ".=()<>"))))))
+ (js-base-mode . ((js-indent-level . 4)
+ (js-chain-indent . t)
+ (js-indent-first-init . dynamic))))