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/editors/code | |
| 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/editors/code')
| -rw-r--r-- | src/tools/rust-analyzer/editors/code/package.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/editors/code/package.json b/src/tools/rust-analyzer/editors/code/package.json index 2b2e25e11c8..1d27a120535 100644 --- a/src/tools/rust-analyzer/editors/code/package.json +++ b/src/tools/rust-analyzer/editors/code/package.json @@ -2853,6 +2853,16 @@ { "title": "Semantic Highlighting", "properties": { + "rust-analyzer.semanticHighlighting.comments.enable": { + "markdownDescription": "Use semantic tokens for comments.\n\nIn some editors (e.g. vscode) semantic tokens override other highlighting grammars.\nBy disabling semantic tokens for comments, other grammars can be used to highlight\ntheir contents.", + "default": true, + "type": "boolean" + } + } + }, + { + "title": "Semantic Highlighting", + "properties": { "rust-analyzer.semanticHighlighting.doc.comment.inject.enable": { "markdownDescription": "Inject additional highlighting into doc comments.\n\nWhen enabled, rust-analyzer will highlight rust source in doc comments as well as intra\ndoc links.", "default": true, |
