Closed C-Entropy closed 2 months ago
The hook you secificied doesn't seem to be right, can you remove the hook and try without it ?
I tested it locally and this works for me:
(use-package rust-mode
:ensure t
:defer t
:init
(setq rust-mode-treesitter-derive t)
:config
(setq rust-format-on-save t))
I tested it locally and this works for me:
(use-package rust-mode :ensure t :defer t :init (setq rust-mode-treesitter-derive t) :config (setq rust-format-on-save t))
This works, thanks!
My configuration:
Default key bindings and rust-format-on-save doesn't work with rust-ts-mode.