Add config for disabling non standard lsp highlight tokens

This commit is contained in:
Lukas Wirth 2023-05-11 09:55:30 +02:00
parent 4b42acf617
commit 91d5a689c7
6 changed files with 70 additions and 20 deletions

View file

@ -1395,6 +1395,11 @@
"default": true,
"type": "boolean"
},
"rust-analyzer.semanticHighlighting.nonStandardTokens": {
"markdownDescription": "Whether the server is allowed to emit non-standard tokens and modifiers.",
"default": true,
"type": "boolean"
},
"rust-analyzer.semanticHighlighting.operator.enable": {
"markdownDescription": "Use semantic tokens for operators.\n\nWhen disabled, rust-analyzer will emit semantic tokens only for operator tokens when\nthey are tagged with modifiers.",
"default": true,