Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

match upstream typstfmt config file name #475

Merged
merged 1 commit into from
Apr 13, 2024
Merged

match upstream typstfmt config file name #475

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants