Skip to content

Commit 2da2e7f

Browse files
authored
Merge pull request #436 from daniel-wong-dfinity-org/patch-1
rust-mode should be enabled automatically when opening .rs files
2 parents 49ff6cc + f462803 commit 2da2e7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ Clone this repository locally, and add this to your init.el:
100100
``` elisp
101101
(add-to-list 'load-path "/path/to/rust-mode/")
102102
(autoload 'rust-mode "rust-mode" nil t)
103+
(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))
103104
```
104105

105106
## Feature guide

0 commit comments

Comments
 (0)