From b754eb641d2ed6ca4505fd7acf862253f1e44a4c Mon Sep 17 00:00:00 2001 From: zackad Date: Mon, 19 Aug 2024 14:10:22 +0700 Subject: [PATCH] docs: fix actual default value of `twigAlwaysBreakObjects` option Close GH-56. --- CHANGELOG.md | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 173301d9..b288ee45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Bugfixes - Fix handling mapping that omit key part +- Fix documentation about `twigAlwaysBreakObjects` option to reflect actual default value --- ## 0.8.0 (2024-08-09) diff --git a/README.md b/README.md index cf95e8d1..2888f81c 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Values can be `true` or `false`. If `true`, single quotes will be used for strin Because Twig files might have a lot of nesting, it can be useful to define a separate print width for Twig files. This can be done with this option. If it is not set, the standard `printWidth` option is used. -### twigAlwaysBreakObjects (default: `false`) +### twigAlwaysBreakObjects (default: `true`) If set to `true`, objects will always be wrapped/broken, even if they would fit on one line: