summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorbrotzeit <brotzeitmacher@gmail.com>2022-01-22 16:21:23 +0100
committerGitHub <noreply@github.com>2022-01-22 16:21:23 +0100
commit2da2e7f08a83fbec381c8604d3e00c4ee2c02855 (patch)
tree3fc83c22cedfbea8795015d55566bcbd70497323 /README.md
parent49ff6cceba7a546595c5b0cc18c7501b22e0c9e9 (diff)
parentf462803531fc66c8b3d2ad545d15335228a09b2e (diff)
downloadrust-mode-2da2e7f08a83fbec381c8604d3e00c4ee2c02855.tar.gz
Merge pull request #436 from daniel-wong-dfinity-org/patch-1
rust-mode should be enabled automatically when opening .rs files
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
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