about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorJohn Renner <john@jrenner.net>2021-05-10 13:34:09 -0700
committerJohn Renner <john@jrenner.net>2021-05-10 13:34:09 -0700
commit7ae3967e5739b786fcd3f7b7b333c73f2c38e8dd (patch)
treeda0ab8119d19bcce349eb9c60825761898a231e4 /editors/code/package.json
parentc3ba1f14faaf132de7c216123878a681d7f3ca61 (diff)
downloadrust-7ae3967e5739b786fcd3f7b7b333c73f2c38e8dd.tar.gz
rust-7ae3967e5739b786fcd3f7b7b333c73f2c38e8dd.zip
Formatting and docs
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 67e10df7efb..1605d926bfd 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -770,6 +770,11 @@
                         "type": "string"
                     }
                 },
+                "rust-analyzer.semanticStringTokens": {
+                    "markdownDescription": "Use semantic tokens for strings.\n\nIn some editors (e.g. vscode) semantic tokens override other highlighting grammars.\nBy disabling semantic tokens for strings, other grammars can be used to highlight\ntheir contents.",
+                    "default": true,
+                    "type": "boolean"
+                },
                 "$generated-end": false
             }
         },