Replies: 1 comment
-
Try this, it works just fine and is what I am using: [language-server.rust-analyzer.config]
check = {command = "clippy", extraArgs = ["--", "-W", "clippy::unwrap_used", "-W", "clippy::expect_used", "-W", "clippy::pedantic", "-W", "clippy::nursery"]} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My current languages.toml looks like this:
When I run
cargo clippy --workspace --verbose -- -W clippy::unwrap_used -W clippy::expect_used -W clippy::pedantic -W clippy::nursery -Dwarnings
, I get lots of errors. However, helix does not show these errors after saving, with my current languages.toml. I've tried adding "--message-format=json" to the args with no success. I also don't get any errors in the logs.How would I go about setting up the languages.toml correctly so that the errors are shown in the editor?
Beta Was this translation helpful? Give feedback.
All reactions