-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Description
Describe the problem you are trying to solve
To have syntax highlighting in VSCode I currently create a custom file association in my settings:
"files.associations": {
"**/.cargo/config": "toml"
},I'd love to not have to do this!
Describe the solution you'd like
Could cargo accept .cargo/config.toml as a path for local configuration?
Notes
There are many alternatives available, like making the Rust editor plugins aware of this association. However, cargo's usage of TOML elsewhere is identified by the file extension (consistency), and this change would presumably improve ergonomics in other places that do syntax highlighting, not just in editors (availability).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`