add documentation regarding some commands

This commit is contained in:
chrunchyjesus 2019-07-04 21:13:21 +02:00
parent 9f37363764
commit 883c390e2e
No known key found for this signature in database
GPG Key ID: B08FE1F00D141D19

View File

@ -40,6 +40,14 @@ To get started with Rust, you can either use =rustup= and install rust with:
Package manager is not recommended to install Nightly version of Rust what is
required for ~racer~ from [[https://github.com/racer-rust/racer#installation][version 2.1]] (more info in [[#Troubleshooting][Troubleshooting]])
Some commands require additional crates to be installed to work, e.g. ~cargo
add~.
#+BEGIN_SRC sh
rustup component add rustfmt
rustup component add cargo-check
rustup component add cargo-edit
#+END_SRC
* Features
This module also supports LSP, it requires installation of Rust Language Server
[[https://github.com/rust-lang/rls][~RLS~]]. To enable this you need to enable ~lsp~ in ~:tools~ section in ~init.el~ file.