|
|
@ -12,7 +12,7 @@
|
|
|
|
:requires treesit
|
|
|
|
:requires treesit
|
|
|
|
:hook
|
|
|
|
:hook
|
|
|
|
(rust-ts-mode . (lambda ()
|
|
|
|
(rust-ts-mode . (lambda ()
|
|
|
|
(when (featurep 'rust-mode)
|
|
|
|
(when (require 'rust-mode nil t)
|
|
|
|
(add-hook before-save-hook rust-before-save-method)
|
|
|
|
(add-hook 'before-save-hook 'rust-before-save-method nil t)
|
|
|
|
(add-hook after-save-hook rust-after-save-method)
|
|
|
|
(add-hook 'after-save-hook 'rust-after-save-method nil t)
|
|
|
|
(use-local-map (make-composed-keymap (list rust-ts-mode-map rust-mode-map)))))))
|
|
|
|
(use-local-map (make-composed-keymap (list rust-ts-mode-map rust-mode-map)))))))
|
|
|
|