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

Add formatter for Caddyfile #136

Closed
rassie opened this issue Oct 11, 2022 · 2 comments · Fixed by #154
Closed

Add formatter for Caddyfile #136

rassie opened this issue Oct 11, 2022 · 2 comments · Fixed by #154

Comments

@rassie
Copy link
Contributor

rassie commented Oct 11, 2022

It would be nice to have a Caddyfile formatter support. It is included in caddy itself.

To format stdin to stdout:

$ caddy fmt -

caddy itself can be fetched from Github Releases, e.g. 2.6.1 Linux AMD64 tar archive, which directly includes the caddy binary.

@elken
Copy link
Contributor

elken commented Nov 17, 2022

You're more than welcome to review the guide and submit your own :)

@rassie
Copy link
Contributor Author

rassie commented Nov 17, 2022

I can surely try :) My problem is that I'm not a user of apheleia yet, I'm patiently waiting for doom-emacs integration, but I can still submit a PR.

rassie added a commit to rassie/apheleia that referenced this issue Feb 5, 2023
rassie added a commit to rassie/apheleia that referenced this issue Feb 5, 2023
raxod502 pushed a commit that referenced this issue Feb 19, 2023
Add formatter for Caddyfile (#136)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants