Add the rust-analyzer.semanticHighlighting.comments.enable configuration value

This commit is contained in:
Bart Jacobs 2025-09-17 15:46:23 +02:00
parent 21614ed2d3
commit d106d41fbc
9 changed files with 157 additions and 19 deletions

View file

@ -2850,6 +2850,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": {