summaryrefslogtreecommitdiff
path: root/doc/ale-rust.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ale-rust.txt')
-rw-r--r--doc/ale-rust.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/ale-rust.txt b/doc/ale-rust.txt
index 36d69b5e..48f558e8 100644
--- a/doc/ale-rust.txt
+++ b/doc/ale-rust.txt
@@ -60,8 +60,20 @@ g:ale_rust_analyzer_config *g:ale_rust_analyzer_config*
Type: |Dictionary|
Default: `{}`
- Dictionary with configuration settings for rust-analyzer.
+ Dictionary with configuration settings for rust-analyzer. Keys of the
+ dictionary are components of configuration keys. For example:
+>
+ let g:ale_rust_analyzer_config = {
+ \ 'server': {
+ \ 'extraEnv': { 'RUSTUP_TOOLCHAIN': 'stable' },
+ \ }
+ \}
+<
+ corresponds to `rust-analyzer.server.extraEnv = { 'RUSTUP_TOOLCHAIN': 'stable' }`
+
+ For available configuration parameters, see the `rust-analyzer` manual:
+ https://rust-analyzer.github.io/manual.html#configuration
===============================================================================
cargo *ale-rust-cargo*