diff options
Diffstat (limited to 'docs/user')
-rw-r--r-- | docs/user/generated_config.adoc | 19 | ||||
-rw-r--r-- | docs/user/manual.adoc | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index f70558200..b32411887 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc | |||
@@ -179,6 +179,15 @@ Controls file watching implementation. | |||
179 | -- | 179 | -- |
180 | These directories will be ignored by rust-analyzer. | 180 | These directories will be ignored by rust-analyzer. |
181 | -- | 181 | -- |
182 | [[rust-analyzer.highlighting.strings]]rust-analyzer.highlighting.strings (default: `true`):: | ||
183 | + | ||
184 | -- | ||
185 | Use semantic tokens for strings. | ||
186 | |||
187 | In some editors (e.g. vscode) semantic tokens override other highlighting grammars. | ||
188 | By disabling semantic tokens for strings, other grammars can be used to highlight | ||
189 | their contents. | ||
190 | -- | ||
182 | [[rust-analyzer.hoverActions.debug]]rust-analyzer.hoverActions.debug (default: `true`):: | 191 | [[rust-analyzer.hoverActions.debug]]rust-analyzer.hoverActions.debug (default: `true`):: |
183 | + | 192 | + |
184 | -- | 193 | -- |
@@ -332,3 +341,13 @@ Additional arguments to `rustfmt`. | |||
332 | Advanced option, fully override the command rust-analyzer uses for | 341 | Advanced option, fully override the command rust-analyzer uses for |
333 | formatting. | 342 | formatting. |
334 | -- | 343 | -- |
344 | [[rust-analyzer.workspace.symbol.search.scope]]rust-analyzer.workspace.symbol.search.scope (default: `"workspace"`):: | ||
345 | + | ||
346 | -- | ||
347 | Workspace symbol search scope. | ||
348 | -- | ||
349 | [[rust-analyzer.workspace.symbol.search.kind]]rust-analyzer.workspace.symbol.search.kind (default: `"only_types"`):: | ||
350 | + | ||
351 | -- | ||
352 | Workspace symbol search kind. | ||
353 | -- | ||
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 797af3f75..f96c09a79 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -589,6 +589,7 @@ Here is a **non-exhaustive** list of ways to make rust-analyzer execute arbitrar | |||
589 | 589 | ||
590 | * proc macros and build scripts are executed by default | 590 | * proc macros and build scripts are executed by default |
591 | * `.cargo/config` can override `rustc` with an arbitrary executable | 591 | * `.cargo/config` can override `rustc` with an arbitrary executable |
592 | * `rust-toolchain.toml` can override `rustc` with an arbitrary executable | ||
592 | * VS Code plugin reads configuration from project directory, and that can be used to override paths to various executables, like `rustfmt` or `rust-analyzer` itself. | 593 | * VS Code plugin reads configuration from project directory, and that can be used to override paths to various executables, like `rustfmt` or `rust-analyzer` itself. |
593 | * rust-analyzer's syntax trees library uses a lot of `unsafe` and hasn't been properly audited for memory safety. | 594 | * rust-analyzer's syntax trees library uses a lot of `unsafe` and hasn't been properly audited for memory safety. |
594 | 595 | ||