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

match upstream typstfmt config file name #475

Merged
merged 1 commit into from
Apr 13, 2024

Conversation

mtoohey31
Copy link
Contributor

@mtoohey31 mtoohey31 commented Apr 8, 2024

The typstfmt binary uses typstfmt.toml or .typstfmt.toml instead of typstfmt-config.toml (see the source code here). This pull request makes it so we use the same names.

One question: would we want to also continue supporting typstfmt-config.toml for backwards compatibility? Or is it fine that we don't since formatting is experimental?

@astrale-sharp
Copy link
Collaborator

I think it's fine as long as we warn a bit in the release

@astrale-sharp
Copy link
Collaborator

I approve the changes btw

@mtoohey31
Copy link
Contributor Author

I think it's fine as long as we warn a bit in the release

Sounds good. Thanks for taking a look!

@Myriad-Dreamin
Copy link
Collaborator

LGTM. and we can make improvement about warning in a separated PR.

@Myriad-Dreamin Myriad-Dreamin merged commit d760547 into nvarner:master Apr 13, 2024
5 of 6 checks passed
@mtoohey31 mtoohey31 deleted the fix/typstfmt-config-name branch April 13, 2024 13:08
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

Successfully merging this pull request may close these issues.

3 participants