aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJames Leitch <[email protected]>2021-04-21 04:03:35 +0100
committerJames Leitch <[email protected]>2021-04-21 23:10:53 +0100
commit9fcad829807a0306fbf4eb2ebc1603a11a6df182 (patch)
treea91162aed471e8b8bb8d80ed2dfcb7aaeb64acfd /docs
parent60841f42769b154864252b04d622494a9ddfc696 (diff)
Diagnostic Remap Path Prefixes added.
Diffstat (limited to 'docs')
-rw-r--r--docs/user/generated_config.adoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc
index e0ee35b4e..cb6fe5850 100644
--- a/docs/user/generated_config.adoc
+++ b/docs/user/generated_config.adoc
@@ -147,6 +147,12 @@ have more false positives than usual.
147-- 147--
148List of rust-analyzer diagnostics to disable. 148List of rust-analyzer diagnostics to disable.
149-- 149--
150[[rust-analyzer.diagnostics.remapPathPrefixes]]rust-analyzer.diagnostics.remapPathPrefixes (default: `{}`)::
151+
152--
153Map of path prefixes to be substituted when parsing diagnostic file paths.
154This should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`.
155--
150[[rust-analyzer.diagnostics.warningsAsHint]]rust-analyzer.diagnostics.warningsAsHint (default: `[]`):: 156[[rust-analyzer.diagnostics.warningsAsHint]]rust-analyzer.diagnostics.warningsAsHint (default: `[]`)::
151+ 157+
152-- 158--