From f462803531fc66c8b3d2ad545d15335228a09b2e Mon Sep 17 00:00:00 2001 From: daniel-wong-dfinity-org <97631336+daniel-wong-dfinity-org@users.noreply.github.com> Date: Tue, 18 Jan 2022 14:46:45 -0800 Subject: rust-mode should be enabled automatically when opening .rs files --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 920b37a..aeeb987 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,7 @@ Clone this repository locally, and add this to your init.el: ``` elisp (add-to-list 'load-path "/path/to/rust-mode/") (autoload 'rust-mode "rust-mode" nil t) +(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode)) ``` ## Feature guide -- cgit v1.2.3