From 7ae3967e5739b786fcd3f7b7b333c73f2c38e8dd Mon Sep 17 00:00:00 2001 From: John Renner Date: Mon, 10 May 2021 13:34:09 -0700 Subject: Formatting and docs --- docs/user/generated_config.adoc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs') 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`. Advanced option, fully override the command rust-analyzer uses for formatting. -- +[[rust-analyzer.semanticStringTokens]]rust-analyzer.semanticStringTokens (default: `true`):: ++ +-- +Use semantic tokens for strings. + +In some editors (e.g. vscode) semantic tokens override other highlighting grammars. +By disabling semantic tokens for strings, other grammars can be used to highlight +their contents. +-- -- cgit v1.2.3