From 9944729c0b7abb26ea9a29a78b3e8336d6e61e70 Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Tue, 16 Sep 2025 17:55:22 +0900 Subject: [PATCH] docs: fix indent_root_array type to bool instead of int Signed-off-by: Koichi Shiraishi --- docs/config-file.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config-file.md b/docs/config-file.md index 41dd7820..dc0a1efb 100644 --- a/docs/config-file.md +++ b/docs/config-file.md @@ -87,7 +87,7 @@ The basic formatter is a barebones formatter that simply takes the data provided | `eof_newline` | bool | false | Always add a newline at end of file. Useful in the scenario where `retain_line_breaks` is disabled but the trailing newline is still needed. | | `strip_directives` | bool | false | [YAML Directives](https://yaml.org/spec/1.2.2/#3234-directives) are not supported by this formatter. This feature will attempt to strip the directives before formatting and put them back. [Use this feature at your own risk.](#strip_directives) | | `array_indent` | int | = indent | Set a different indentation level for block sequences specifically. | -| `indent_root_array` | int | false | Tells the formatter to indent an array that is at the lowest indentation level of the document. | +| `indent_root_array` | bool | false | Tells the formatter to indent an array that is at the lowest indentation level of the document. | | `disable_alias_key_correction` | bool | false | Disables functionality to fix alias nodes being used as keys. See #247 for details. | | `force_array_style` | `flow`, `block`, or empty | empty | If set, forces arrays to be output in a particular style, either `flow` (`[]`) or `block` (`- x`). If unset, the style from the original document is used. |