Skip to content

Commit f462803

Browse files
rust-mode should be enabled automatically when opening .rs files
1 parent 49ff6cc commit f462803

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
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)