How to add clippy
diagnostics for Rust projects in 22.10
?
#8647
Answered
by
l4l
mahor1221
asked this question in
Troubleshooting
-
Prior to [[language]]
name = "rust"
[language.config.check]
command = "clippy" I've tried using the new format explained in the documentations, but it doesn't work: [[language]]
name = "rust"
language-servers = [ { name = "clippy", only-features = [ "diagnostics" ] } ] Am I doing it wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
l4l
Oct 28, 2023
Replies: 2 comments 2 replies
-
Try this: [[language]]
name = "rust"
language-servers = ["rust-analyzer"]
[language-server.rust-analyzer.config]
check.command = "clippy" Wiki seems to be already updated: https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers#rust |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mahor1221
-
I had a quick Google, I thought it was:
Has something changed? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this:
Wiki seems to be already updated: https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers#rust