forked from gentoo-utils/gentoo-utils
init
This commit is contained in:
8
.dir-locals.el
Normal file
8
.dir-locals.el
Normal 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)))))
|
||||
Reference in New Issue
Block a user