caddy/caddyconfig/caddyfile
Vaibhav 71e81d262b
fmt: Add support for block nesting. ()
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 

Signed-off-by: Vaibhav <vrongmeal@gmail.com>
2020-02-29 13:23:08 -07:00
..
testdata Implement config adapters and beginning of Caddyfile adapter 2019-08-09 12:05:47 -06:00
adapter.go caddyfile: Preprocess env vars in {$THIS} format () 2020-01-09 09:40:16 -07:00
dispenser.go caddyfile: Refactor; NewFromNextSegment(); fix repeated matchers 2020-02-14 11:01:09 -07:00
dispenser_test.go caddyfile: fix replacing variables on imported files () 2020-01-09 19:34:22 -07:00
formatter.go fmt: Add support for block nesting. () 2020-02-29 13:23:08 -07:00
formatter_test.go fmt: Add support for block nesting. () 2020-02-29 13:23:08 -07:00
lexer.go v2: Make tests work on Windows () 2019-10-15 16:05:53 -06:00
lexer_test.go v2: Make tests work on Windows () 2019-10-15 16:05:53 -06:00
parse.go caddyfile: expand environment variables within caddy files () 2020-02-26 16:06:34 -07:00
parse_fuzz.go Add missing fuzzer () 2019-10-30 23:57:22 +03:00
parse_test.go Fix typos () 2020-02-27 19:30:48 -07:00