* 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
|
||
|---|---|---|
| .. | ||
| testdata | ||
| adapter.go | ||
| dispenser.go | ||
| dispenser_test.go | ||
| formatter.go | ||
| formatter_fuzz.go | ||
| formatter_test.go | ||
| importgraph.go | ||
| lexer.go | ||
| lexer_fuzz.go | ||
| lexer_test.go | ||
| parse.go | ||
| parse_test.go | ||