This commit is contained in:
John Turner
2025-10-21 20:49:29 -04:00
commit 264041a0f5
3 changed files with 16 additions and 0 deletions

8
.dir-locals.el Normal file
View File

@@ -0,0 +1,8 @@
((rust-ts-mode . ((fmt-executable . "rustfmt")
(fmt-args . ("--edition=2021"))
(eval . (eglot-ensure))
(eval . (company-mode 1))
(eval . (add-hook 'before-save-hook 'fmt-current-buffer nil t))
(eval . (add-hook 'eglot-managed-mode-hook (lambda ()
(eglot-inlay-hints-mode -1))
nil t)))))