Skip to content

Commit cfeec8a

Browse files
committed
Add clippy configuration section to the manual
1 parent c29a004 commit cfeec8a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/user/manual.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,10 @@ include::./generated_assists.adoc[]
816816
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.
817817
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.
818818

819+
=== Clippy
820+
821+
To run `cargo clippy` instead of `cargo check`, you can set `"rust-analyzer.check.command": "clippy"`.
822+
819823
include::./generated_diagnostic.adoc[]
820824

821825
== Editor Features

0 commit comments

Comments
 (0)