From 91d5a689c770eb7f15087f55365ded717a736a2e Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Thu, 11 May 2023 09:55:30 +0200 Subject: Add config for disabling non standard lsp highlight tokens --- editors/code/package.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'editors/code/package.json') diff --git a/editors/code/package.json b/editors/code/package.json index 1ce6a1b2b00..b4620243c9f 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -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, -- cgit 1.4.1-3-g733a5