feat: format Rust buffers on save
This commit is contained in:
parent
16ebdead10
commit
d0f2c06659
|
@ -38,8 +38,10 @@
|
|||
|
||||
(use-package rustic
|
||||
:custom
|
||||
(rustic-format-trigger 'on-save) ; Format buffer on save
|
||||
(rustic-lsp-client 'eglot)) ; Make eglot the default LSP client
|
||||
|
||||
|
||||
;; Disable flymake for eglot - in favour of flycheck
|
||||
(add-hook 'eglot--managed-mode-hook (lambda () (flymake-mode -1)))
|
||||
|
||||
|
|
Reference in a new issue