You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-4Lines changed: 28 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5,16 +5,23 @@
5
5
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
6
6
**Table of Contents**
7
7
8
-
-[Installation via MELPA](#installation-via-melpa)
9
-
-[Manual Installation](#manual-installation)
8
+
-[Installation](#installation)
9
+
-[Melpa](#melpa)
10
+
-[straight](#straight)
11
+
-[Manual Installation](#manual-installation)
10
12
-[Indentation](#indentation)
11
13
-[rustfmt](#rustfmt)
12
14
-[Tests](#tests)
15
+
-[LSP](#lsp)
16
+
-[eglot](#eglot)
17
+
-[lsp-mode](#lsp-mode)
13
18
-[Other useful packages](#other-useful-packages)
14
19
15
20
<!-- markdown-toc end -->
16
21
17
-
# Installation via MELPA
22
+
# Installation
23
+
24
+
## Melpa
18
25
19
26
`rust-mode` makes editing [Rust](http://rust-lang.org) code with Emacs
20
27
enjoyable. It requires Emacs 24 or later.
@@ -36,7 +43,11 @@ And put this in your config to load rust-mode automatically:
36
43
37
44
`(require 'rust-mode)`
38
45
39
-
# Manual Installation
46
+
## straight
47
+
48
+
[straight.el](https://github.com/raxod502/straight.el#install-packages) clones each of your packages directly from its source. There are good additional [installation instructions](https://github.crookster.org/switching-to-straight.el-from-emacs-26-builtin-package.el/) for moving your package management from package.el to straight.
49
+
50
+
## Manual Installation
40
51
41
52
Add this to your init.el:
42
53
@@ -71,6 +82,19 @@ The file `rust-mode-tests.el` contains tests that can be run via
71
82
You can use `run_rust_emacs_tests.sh` to run them in batch mode, if
72
83
you set the environment variable EMACS to a program that runs emacs.
0 commit comments