diff options
author | John Renner <[email protected]> | 2021-05-10 21:34:09 +0100 |
---|---|---|
committer | John Renner <[email protected]> | 2021-05-10 21:34:09 +0100 |
commit | 7ae3967e5739b786fcd3f7b7b333c73f2c38e8dd (patch) | |
tree | da0ab8119d19bcce349eb9c60825761898a231e4 /docs/user | |
parent | c3ba1f14faaf132de7c216123878a681d7f3ca61 (diff) |
Formatting and docs
Diffstat (limited to 'docs/user')
-rw-r--r-- | docs/user/generated_config.adoc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index e28423e99..ff4fb064e 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc | |||
@@ -332,3 +332,12 @@ Additional arguments to `rustfmt`. | |||
332 | Advanced option, fully override the command rust-analyzer uses for | 332 | Advanced option, fully override the command rust-analyzer uses for |
333 | formatting. | 333 | formatting. |
334 | -- | 334 | -- |
335 | [[rust-analyzer.semanticStringTokens]]rust-analyzer.semanticStringTokens (default: `true`):: | ||
336 | + | ||
337 | -- | ||
338 | Use semantic tokens for strings. | ||
339 | |||
340 | In some editors (e.g. vscode) semantic tokens override other highlighting grammars. | ||
341 | By disabling semantic tokens for strings, other grammars can be used to highlight | ||
342 | their contents. | ||
343 | -- | ||