Skip to content

Commit

Permalink
fix some typo and format in formatter.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ysugimoto committed Jun 9, 2024
1 parent 673ed3e commit d506e5e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/formatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ Specify max characters for each line. The overflowed characters are printed at t

> [!NOTE]
> Inserting line-feed is judged for each expression. It means formatter does not split in the middle of a sentence.
```
You can prevent this formatting rule by providing `-1` value to this configuration.

Expand All @@ -166,7 +165,7 @@ If condition example:

```vcl
sub vcl_recv {
if (req.http.Foo == "bar" && req.http.Bar = "baz" && req.http.Baz == "foo") {
if (req.http.Header1 == "1" && req.http.Header2 = "2" && req.http.Header3 == "3" && req.http.Header4 == "4") {
req.http.OK = "1";
}
}
Expand All @@ -187,7 +186,7 @@ sub vcl_recv {

---

### Explicit Declaration Concat
### Explicit String Concat

**default: false**

Expand Down

0 comments on commit d506e5e

Please sign in to comment.