about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorLukas Wirth <lukas.wirth@ferrous-systems.com>2023-05-11 09:55:30 +0200
committerLukas Wirth <lukas.wirth@ferrous-systems.com>2023-05-11 10:01:38 +0200
commit91d5a689c770eb7f15087f55365ded717a736a2e (patch)
treedd36bb2a1f9af09f23245e4d6e5453e211fe30f3 /editors/code/package.json
parent4b42acf617d05005cc678bcdaec5123d8429cb63 (diff)
downloadrust-91d5a689c770eb7f15087f55365ded717a736a2e.tar.gz
rust-91d5a689c770eb7f15087f55365ded717a736a2e.zip
Add config for disabling non standard lsp highlight tokens
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json5
1 files changed, 5 insertions, 0 deletions
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,