1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/caddyconfig
Matthew Penner bc22102478
caddyfile: Fix caddy fmt nesting not decrementing (#4157)
* caddyfile(formatter): fix nesting not decrementing

This is an extremely weird edge-case where if you had a environment variable {}
on one line, a comment on the next line, and the closing of the block on the
following line; the rest of the Caddyfile would be indented further than it
should've been.

ref; https://github.com/matthewpi/vscode-caddyfile-support/issues/13

* run gofmt

* fmt: better way of handling edge case
2021-05-10 12:01:27 -06:00
..
caddyfile caddyfile: Fix caddy fmt nesting not decrementing (#4157) 2021-05-10 12:01:27 -06:00
httpcaddyfile httpcaddyfile: Add grace_period global option (#4152) 2021-05-07 16:18:17 -06:00
configadapters.go admin: Identity management, remote admin, config loaders (#3994) 2021-01-27 16:16:04 -07:00
httploader.go admin: Identity management, remote admin, config loaders (#3994) 2021-01-27 16:16:04 -07:00
load.go admin: Identity management, remote admin, config loaders (#3994) 2021-01-27 16:16:04 -07:00