diff options
| author | Bart Jacobs <bart.jacobs@cs.kuleuven.be> | 2025-09-17 15:46:23 +0200 |
|---|---|---|
| committer | Bart Jacobs <bart.jacobs@cs.kuleuven.be> | 2025-09-17 15:46:23 +0200 |
| commit | 6e101637fa9485e71e77217ab32cbfb0f013e6e5 (patch) | |
| tree | 7517cb3a85e55acf7beefaab444dd7f9def2fe01 /src/tools/rust-analyzer/docs | |
| parent | dada5f418d3ee89593208489ad32a09660097f39 (diff) | |
| download | rust-6e101637fa9485e71e77217ab32cbfb0f013e6e5.tar.gz rust-6e101637fa9485e71e77217ab32cbfb0f013e6e5.zip | |
Add the `rust-analyzer.semanticHighlighting.comments.enable` configuration value
Diffstat (limited to 'src/tools/rust-analyzer/docs')
| -rw-r--r-- | src/tools/rust-analyzer/docs/book/src/configuration_generated.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/docs/book/src/configuration_generated.md b/src/tools/rust-analyzer/docs/book/src/configuration_generated.md index 9a51212462d..50dacd88f40 100644 --- a/src/tools/rust-analyzer/docs/book/src/configuration_generated.md +++ b/src/tools/rust-analyzer/docs/book/src/configuration_generated.md @@ -1378,6 +1378,17 @@ Enables the use of rustfmt's unstable range formatting command for the available on a nightly build. +## rust-analyzer.semanticHighlighting.comments.enable {#semanticHighlighting.comments.enable} + +Default: `true` + +Use semantic tokens for comments. + +In some editors (e.g. vscode) semantic tokens override other highlighting grammars. +By disabling semantic tokens for comments, other grammars can be used to highlight +their contents. + + ## rust-analyzer.semanticHighlighting.doc.comment.inject.enable {#semanticHighlighting.doc.comment.inject.enable} Default: `true` |
