diff options
author | James Leitch <[email protected]> | 2021-04-21 04:03:35 +0100 |
---|---|---|
committer | James Leitch <[email protected]> | 2021-04-21 23:10:53 +0100 |
commit | 9fcad829807a0306fbf4eb2ebc1603a11a6df182 (patch) | |
tree | a91162aed471e8b8bb8d80ed2dfcb7aaeb64acfd /docs/user | |
parent | 60841f42769b154864252b04d622494a9ddfc696 (diff) |
Diagnostic Remap Path Prefixes added.
Diffstat (limited to 'docs/user')
-rw-r--r-- | docs/user/generated_config.adoc | 6 |
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 | -- |
148 | List of rust-analyzer diagnostics to disable. | 148 | List of rust-analyzer diagnostics to disable. |
149 | -- | 149 | -- |
150 | [[rust-analyzer.diagnostics.remapPathPrefixes]]rust-analyzer.diagnostics.remapPathPrefixes (default: `{}`):: | ||
151 | + | ||
152 | -- | ||
153 | Map of path prefixes to be substituted when parsing diagnostic file paths. | ||
154 | This 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 | -- |