branch: elpa/rust-mode
commit f462803531fc66c8b3d2ad545d15335228a09b2e
Author: daniel-wong-dfinity-org
<[email protected]>
Commit: GitHub <[email protected]>
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 920b37a0bf..aeeb987a1b 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