branch: elpa/rust-mode
commit 2da2e7f08a83fbec381c8604d3e00c4ee2c02855
Merge: 49ff6cceba f462803531
Author: brotzeit <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #436 from daniel-wong-dfinity-org/patch-1
    
    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

Reply via email to