Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-29 | fmt: Add support for block nesting. (#3105) | Vaibhav | |
Previously the formatter did not include support for blocks inside other blocks. Hence the formatter could not indent some files properly. This fixes it. Fixes #3104 Signed-off-by: Vaibhav <vrongmeal@gmail.com> | |||
2020-02-29 | cmd: Add `caddy fmt` command. (#3090) | Vaibhav | |
This takes the config file as input and formats it. Prints the result to stdout. Can write changes to file if `--write` flag is passed. Fixes #3020 Signed-off-by: Vaibhav <vrongmeal@gmail.com> |