From eaabe2c8c09770bcc297d0724dddd564e06816d7 Mon Sep 17 00:00:00 2001 From: Eson Wong Date: Thu, 23 Nov 2023 21:10:31 +0800 Subject: [PATCH 1/2] fix(README): Correct table formatting for `apple-swift-format.path` entry --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e47e263..2a9f187 100755 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ let package = Package( | `apple-swift-format.enable` | `Bool` | `true` | Whether apple/swift-format should actually do something. | | | `apple-swift-format.onlyEnableOnSwiftPMProjects` | `Bool` | `false` | Requires and uses a apple/swift-format as SwiftPM dependency. | | | `apple-swift-format.onlyEnableWithConfig` | `Bool` | `false` | Only format if config present. | | -| `apple-swift-format.path` | `[String] | String` | `swift-format` | The location of the globally installed SwiftFormat (resolved with the current path if only a filename). | +| `apple-swift-format.path` | `[String]` | `String` | `swift-format` | The location of the globally installed SwiftFormat (resolved with the current path if only a filename). | | `apple-swift-format.configSearchPaths` | `[String]` | `[".swift-format"]` | Possible paths for apple/swift-format config. | | ## Contributors From 861f07d801b2a37787aa2921dadc064ae6ce9cf0 Mon Sep 17 00:00:00 2001 From: Valentin Knabel Date: Sat, 22 Jun 2024 13:04:59 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a9f187..0445fd0 100755 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ let package = Package( | `apple-swift-format.enable` | `Bool` | `true` | Whether apple/swift-format should actually do something. | | | `apple-swift-format.onlyEnableOnSwiftPMProjects` | `Bool` | `false` | Requires and uses a apple/swift-format as SwiftPM dependency. | | | `apple-swift-format.onlyEnableWithConfig` | `Bool` | `false` | Only format if config present. | | -| `apple-swift-format.path` | `[String]` | `String` | `swift-format` | The location of the globally installed SwiftFormat (resolved with the current path if only a filename). | +| `apple-swift-format.path` | `[String] \| String` | platform dependent | `swift-format` | The location of the globally installed SwiftFormat (resolved with the current path if only a filename). | | `apple-swift-format.configSearchPaths` | `[String]` | `[".swift-format"]` | Possible paths for apple/swift-format config. | | ## Contributors