Skip to content

Commit

Permalink
Merge 5670e76 into dd7f179
Browse files Browse the repository at this point in the history
  • Loading branch information
iCodeSometime authored Oct 18, 2018
2 parents dd7f179 + 5670e76 commit 054a5ed
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,24 +53,30 @@ Use <kbd>M-x racer-describe</kbd> to open the help buffer.

## Installation

1. Install [Racer](http://github.com/phildawes/racer) and download the
1. You will need to use a nightly version of rust.
If you're using rustup, run
```
$ rustup toolchain add nightly
```

2. Install [Racer](http://github.com/phildawes/racer) and download the
source code of Rust:

```
$ rustup component add rust-src
$ cargo install racer
$ cargo +nightly install racer
```

2. Allow Emacs to install packages from MELPA:
3. Allow Emacs to install packages from MELPA:

```el
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
```

3. Install the Emacs package for Racer: `M-x package-install RET racer RET`
4. Install the Emacs package for Racer: `M-x package-install RET racer RET`

4. Configure Emacs to activate racer when rust-mode starts:
5. Configure Emacs to activate racer when rust-mode starts:
```el
(add-hook 'rust-mode-hook #'racer-mode)
(add-hook 'racer-mode-hook #'eldoc-mode)
Expand Down

0 comments on commit 054a5ed

Please sign in to comment.