Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Rust's frontmatter syntax in rust.vim #522

Open
epage opened this issue Feb 20, 2025 · 0 comments
Open

Support Rust's frontmatter syntax in rust.vim #522

epage opened this issue Feb 20, 2025 · 0 comments

Comments

@epage
Copy link

epage commented Feb 20, 2025

Problem

RFC #3503 adds support for a new frontmatter syntax. The contained content format is defined by the calling tool with a tool identifier.

In RFC #3502, the cargo infostring identifier would be used to signify the block uses the Cargo.toml format/schema. Cargo will assume that an empty infostring is meant to be used with it.

Expected behavior

Support parsing Rust files with frontmatter syntax. Optionally detect and support TOML syntax inside of the frontmatter if the infostring is cargo or if there is no infostring

Note: These are not stable and I'm not expecting this be implemented before then but opened this now as a heads up to prep for when it is. Stabilization is being tracked in:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant