X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=docs%2Fuser%2Fgenerated_config.adoc;h=db3c5f7bbb12481471c0f8305357e0d63a1c8f78;hb=86b50849179f710dad5b0c48535d064425863247;hp=e0ee35b4e8cf9c6b1c3d6969d87d038f66a76697;hpb=3f432730dfc7df83fed2d78a97d3d0cf97ffc282;p=rust.git diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index e0ee35b4e8c..db3c5f7bbb1 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -147,6 +147,12 @@ have more false positives than usual. -- List of rust-analyzer diagnostics to disable. -- +[[rust-analyzer.diagnostics.remapPrefix]]rust-analyzer.diagnostics.remapPrefix (default: `{}`):: ++ +-- +Map of prefixes to be substituted when parsing diagnostic file paths. +This should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`. +-- [[rust-analyzer.diagnostics.warningsAsHint]]rust-analyzer.diagnostics.warningsAsHint (default: `[]`):: + -- @@ -228,6 +234,11 @@ site. -- Whether to show inlay type hints for variables. -- +[[rust-analyzer.inlayHints.smallerHints]]rust-analyzer.inlayHints.smallerHints (default: `true`):: ++ +-- +Whether inlay hints font size should be smaller than editor's font size. +-- [[rust-analyzer.lens.debug]]rust-analyzer.lens.debug (default: `true`):: + --