diff options
| author | ccQpein <ccqpein@protonmail.com> | 2024-02-26 20:42:36 -0500 |
|---|---|---|
| committer | ccQpein <ccqpein@protonmail.com> | 2024-02-26 20:42:36 -0500 |
| commit | beb8525ea427e47a2eb2f035418c06a95071f7eb (patch) | |
| tree | 494541d63085cccb7bd6ddba65790bad5dc49c9f | |
| parent | ade453f95e95a3fb6ae90204e51571008fd25d48 (diff) | |
| download | rust-mode-beb8525ea427e47a2eb2f035418c06a95071f7eb.tar.gz | |
require rust-rustfmt for importing rust-after-save-method defination
| -rw-r--r-- | rust-common.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust-common.el b/rust-common.el index c216264..b7dd695 100644 --- a/rust-common.el +++ b/rust-common.el @@ -4,6 +4,8 @@ ;; rust-common code for both prog-mode and tree-sitter one ;;; Code: +(require 'rust-rustfmt) + (defcustom rust-before-save-hook 'rust-before-save-method "Function for formatting before save." :type 'function |
