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

accept .treefmt.toml #2

Closed
wants to merge 1 commit into from
Closed

Conversation

ThoFrank
Copy link
Contributor

@ThoFrank ThoFrank commented Nov 7, 2024

treefmt itself accepts treefmt.toml as well as .treefmt.toml.
The vs code extension should do the same

@isbecker isbecker added the enhancement New feature or request label Nov 11, 2024
@isbecker
Copy link
Owner

Thanks for the PR @ThoFrank.

I think that the default behavior should probably be to not use any config file explicitly, unless the vscode setting for the config file is set. That way, it will fallback to the default treefmt behavior, which will satisfy your needs.

I have a change in progress for that, but (for now), if you want, you can try going to the vscode settings and putting .treefmt.toml as the value for the config file.

isbecker added a commit that referenced this pull request Nov 11, 2024
…ig file

refs: #2 #2

Co-authored-by: Thomas Frank <thomas@franks-im-web.de>
@isbecker
Copy link
Owner

isbecker commented Nov 11, 2024

@ThoFrank please let me know if you still have issues after updating to the latest version.

If not, I'll close the issue shortly.

Thanks again for the contribution!

@ThoFrank
Copy link
Contributor Author

Great thank you very much for addressing this so quickly!

@ThoFrank ThoFrank closed this Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants