diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/generated_config.adoc | 6 | ||||
-rw-r--r-- | docs/user/manual.adoc | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index f91e04c31..1dbf2a611 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc | |||
@@ -10,8 +10,8 @@ | |||
10 | Activate all available features (`--all-features`). | 10 | Activate all available features (`--all-features`). |
11 | [[rust-analyzer.cargo.features]]rust-analyzer.cargo.features (default: `[]`):: | 11 | [[rust-analyzer.cargo.features]]rust-analyzer.cargo.features (default: `[]`):: |
12 | List of features to activate. | 12 | List of features to activate. |
13 | [[rust-analyzer.cargo.loadOutDirsFromCheck]]rust-analyzer.cargo.loadOutDirsFromCheck (default: `false`):: | 13 | [[rust-analyzer.cargo.runBuildScripts]]rust-analyzer.cargo.runBuildScripts (default: `false`):: |
14 | Run `cargo check` on startup to get the correct value for package OUT_DIRs. | 14 | Run build scripts (`build.rs`) for more precise code analysis. |
15 | [[rust-analyzer.cargo.noDefaultFeatures]]rust-analyzer.cargo.noDefaultFeatures (default: `false`):: | 15 | [[rust-analyzer.cargo.noDefaultFeatures]]rust-analyzer.cargo.noDefaultFeatures (default: `false`):: |
16 | Do not activate the `default` feature. | 16 | Do not activate the `default` feature. |
17 | [[rust-analyzer.cargo.target]]rust-analyzer.cargo.target (default: `null`):: | 17 | [[rust-analyzer.cargo.target]]rust-analyzer.cargo.target (default: `null`):: |
@@ -97,7 +97,7 @@ | |||
97 | [[rust-analyzer.notifications.cargoTomlNotFound]]rust-analyzer.notifications.cargoTomlNotFound (default: `true`):: | 97 | [[rust-analyzer.notifications.cargoTomlNotFound]]rust-analyzer.notifications.cargoTomlNotFound (default: `true`):: |
98 | Whether to show `can't find Cargo.toml` error message. | 98 | Whether to show `can't find Cargo.toml` error message. |
99 | [[rust-analyzer.procMacro.enable]]rust-analyzer.procMacro.enable (default: `false`):: | 99 | [[rust-analyzer.procMacro.enable]]rust-analyzer.procMacro.enable (default: `false`):: |
100 | Enable Proc macro support, `#rust-analyzer.cargo.loadOutDirsFromCheck#` must be enabled. | 100 | Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`. |
101 | [[rust-analyzer.procMacro.server]]rust-analyzer.procMacro.server (default: `null`):: | 101 | [[rust-analyzer.procMacro.server]]rust-analyzer.procMacro.server (default: `null`):: |
102 | Internal config, path to proc-macro server executable (typically, this is rust-analyzer itself, but we override this in tests). | 102 | Internal config, path to proc-macro server executable (typically, this is rust-analyzer itself, but we override this in tests). |
103 | [[rust-analyzer.runnables.overrideCargo]]rust-analyzer.runnables.overrideCargo (default: `null`):: | 103 | [[rust-analyzer.runnables.overrideCargo]]rust-analyzer.runnables.overrideCargo (default: `null`):: |
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 9f28237ff..4f2217546 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -226,6 +226,8 @@ The are several LSP client implementations for vim or neovim: | |||
226 | * inlay hints for variables and method chaining, _Neovim Only_ | 226 | * inlay hints for variables and method chaining, _Neovim Only_ |
227 | * semantic highlighting is not implemented yet | 227 | * semantic highlighting is not implemented yet |
228 | 228 | ||
229 | Note: for code actions, use `coc-codeaction-cursor` and `coc-codeaction-selected`; `coc-codeaction` and `coc-codeaction-line` are unlikely to be useful. | ||
230 | |||
229 | ==== LanguageClient-neovim | 231 | ==== LanguageClient-neovim |
230 | 232 | ||
231 | 1. Install LanguageClient-neovim by following the instructions | 233 | 1. Install LanguageClient-neovim by following the instructions |