Skip to content

What should the languages.toml configuration file look like for Rust development? #3443

Answered by sbromberger
ArikRahman asked this question in Q&A
Discussion options

You must be logged in to vote

Here's my languages.toml that's in my main configuration directory. It seems to work well for Rust. YMMV. You shouldn't have to edit anything in the runtime directory.

[[language]]
name="rust"
[language.config]
checkOnSave = {command = "clippy"}
cargo = {allFeatures = true}
procMacro = {enable = true }
auto-format = true

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
2 replies
@cor
Comment options

@David-Else
Comment options

Answer selected by ArikRahman
Comment options

You must be logged in to vote
6 replies
@ArikRahman
Comment options

@sbromberger
Comment options

@ArikRahman
Comment options

@sbromberger
Comment options

@Omnikar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants