From 2e129d929a98d17832afffd48a7de62413937cca Mon Sep 17 00:00:00 2001 From: a-kenji Date: Fri, 29 Sep 2023 18:31:06 +0200 Subject: [PATCH] docs: fix inconsistent `includes` documentation (#249) --- docs/treefmt-configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/treefmt-configuration.md b/docs/treefmt-configuration.md index a117fbb..7d45a1c 100644 --- a/docs/treefmt-configuration.md +++ b/docs/treefmt-configuration.md @@ -2,7 +2,7 @@ `treefmt` can only be run in the presence of `treefmt.toml` where files are mapped to specific code formatters. -Usually the config file sits in the project root folder. If you're running `treefmt` in one of the project's folders, then `treefmt` will look for the config in the parent folders up until the project's root. However, you can place the config anywhere in your project's file tree and specify the path in the the ---config-file flag. +Usually the config file sits in the project root folder. If you're running `treefmt` in one of the project's folders, then `treefmt` will look for the config in the parent folders up until the project's root. However, you can place the config anywhere in your project's file tree and specify the path in the ---config-file flag. The typical section of `treefmt.toml` looks like this: @@ -10,7 +10,7 @@ The typical section of `treefmt.toml` looks like this: [formatter.] command = "" options = [""...] -includes = [""] +includes = [""...] ``` ...where name is just an identifier.