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

Give cabal-fmt access to the filename #499

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lrworth
Copy link

@lrworth lrworth commented Jun 11, 2024

cabal-fmt supports pragmas, all of which are currently undocumented, some of which (e.g. expand) only work when given the original file path.

This PR makes cabal-fmt run on the original file instead of a temporary one.

@lrworth
Copy link
Author

lrworth commented Jun 11, 2024

#424 attempts to do the same thing but with a lot of concerning comments. @namedots does the change in this PR work for you?

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.

1 participant