summaryrefslogtreecommitdiffstats
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-08-31 15:25:19 -0400
committerBrian Cully <bjc@spork.org>2025-08-31 15:25:19 -0400
commit35c98bd145d42147520c61e8d5cf4985077daf29 (patch)
treec3e829083e41bf0ca3b46ae287f5d2507b69e201 /.dir-locals.el
parentee00bc1108b51b41915b0ba748d4484cf47d6481 (diff)
downloadautomathon-35c98bd145d42147520c61e8d5cf4985077daf29.tar.gz
automathon-35c98bd145d42147520c61e8d5cf4985077daf29.zip
dir-locals: add rust-analyzer config
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 55b82b2..058923b 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,7 +1,10 @@
;;; 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")
+ ;; 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))))