about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@dend.ro>2023-02-12 11:10:33 +0200
committerLaurențiu Nicola <lnicola@dend.ro>2023-02-12 11:34:52 +0200
commitcfeec8a7050095529d2fefa3f4aa029b8e8dc789 (patch)
treec58fb7b5ca0b8339d10eeb6e4b74da41e353c6f8
parentc29a00457a45238c4195481f02d748a74d8dfb26 (diff)
downloadrust-cfeec8a7050095529d2fefa3f4aa029b8e8dc789.tar.gz
rust-cfeec8a7050095529d2fefa3f4aa029b8e8dc789.zip
Add clippy configuration section to the manual
-rw-r--r--docs/user/manual.adoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc
index 82909ad7909..fb9ecd2f8c9 100644
--- a/docs/user/manual.adoc
+++ b/docs/user/manual.adoc
@@ -816,6 +816,10 @@ include::./generated_assists.adoc[]
 While most errors and warnings provided by rust-analyzer come from the `cargo check` integration, there's a growing number of diagnostics implemented using rust-analyzer's own analysis.
 Some of these diagnostics don't respect `\#[allow]` or `\#[deny]` attributes yet, but can be turned off using the `rust-analyzer.diagnostics.enable`, `rust-analyzer.diagnostics.experimental.enable` or `rust-analyzer.diagnostics.disabled` settings.
 
+=== Clippy
+
+To run `cargo clippy` instead of `cargo check`, you can set `"rust-analyzer.check.command": "clippy"`.
+
 include::./generated_diagnostic.adoc[]
 
 == Editor Features