diff options
Diffstat (limited to 'docs/user/manual.adoc')
-rw-r--r-- | docs/user/manual.adoc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 40f10972f..d4121b401 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -218,7 +218,7 @@ The are several LSP client implementations for vim or neovim: | |||
218 | * automatically install and upgrade stable/nightly releases | 218 | * automatically install and upgrade stable/nightly releases |
219 | * same configurations as VSCode extension, `rust-analyzer.serverPath`, `rust-analyzer.cargo.features` etc. | 219 | * same configurations as VSCode extension, `rust-analyzer.serverPath`, `rust-analyzer.cargo.features` etc. |
220 | * same commands too, `rust-analyzer.analyzerStatus`, `rust-analyzer.ssr` etc. | 220 | * same commands too, `rust-analyzer.analyzerStatus`, `rust-analyzer.ssr` etc. |
221 | * inlay hints for method chaining support, _Neovim Only_ | 221 | * inlay hints for variables and method chaining, _Neovim Only_ |
222 | * semantic highlighting is not implemented yet | 222 | * semantic highlighting is not implemented yet |
223 | 223 | ||
224 | ==== LanguageClient-neovim | 224 | ==== LanguageClient-neovim |
@@ -302,6 +302,9 @@ If the LSP binary is not available, GNOME Builder can install it when opening a | |||
302 | rust-analyzer is configured via LSP messages, which means that it's up to the editor to decide on the exact format and location of configuration files. | 302 | rust-analyzer is configured via LSP messages, which means that it's up to the editor to decide on the exact format and location of configuration files. |
303 | Please consult your editor's documentation to learn how to configure LSP servers. | 303 | Please consult your editor's documentation to learn how to configure LSP servers. |
304 | 304 | ||
305 | To verify which configuration is actually used by rust-analyzer, set `RA_LOG` environment variable to `rust_analyzer=info` and look for config-related messages. | ||
306 | Logs should show both the JSON that rust-analyzer sees as well as the updated config. | ||
307 | |||
305 | This is the list of config options rust-analyzer supports: | 308 | This is the list of config options rust-analyzer supports: |
306 | 309 | ||
307 | include::./generated_config.adoc[] | 310 | include::./generated_config.adoc[] |