master
John Turner 1 year ago
parent 086b24b850
commit 65b9a8a6c7
No known key found for this signature in database

@ -12,7 +12,7 @@
:requires treesit
:hook
(rust-ts-mode . (lambda ()
(when (featurep 'rust-mode)
(add-hook before-save-hook rust-before-save-method)
(add-hook after-save-hook rust-after-save-method)
(when (require 'rust-mode nil t)
(add-hook 'before-save-hook 'rust-before-save-method nil t)
(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)))))))

Loading…
Cancel
Save