From 47033947cc82d286220bd0176b787d4d6af8bb91 Mon Sep 17 00:00:00 2001 From: Ben Frain Date: Wed, 22 Mar 2023 20:32:02 +0000 Subject: [PATCH 1/2] Adding Homebrew instructions Followed https://github.com/JohnnyMorganz/StyLua/issues/237 some time ago and noticed the README never got updated. Instructions for homebrew now in. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 6b4d65ad..8ac118bf 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,13 @@ If you are using Docker, the easiest way to install StyLua is: COPY --from=JohnnyMorganz/StyLua:0.17.0 /stylua /usr/bin/stylua ``` +### Homebrew +StyLua is available on macOS via the [Homebrew](https://brew.sh) package manager. + +```sh +brew install stylelua +``` + ### Other Installation Methods - [VSCode Extension](https://marketplace.visualstudio.com/items?itemName=JohnnyMorganz.stylua) From 8880aab02f9d07285385d85735895558ad9c0307 Mon Sep 17 00:00:00 2001 From: Ben Frain Date: Thu, 23 Mar 2023 09:53:20 +0000 Subject: [PATCH 2/2] Update README.md fixing typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8ac118bf..003f6742 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ COPY --from=JohnnyMorganz/StyLua:0.17.0 /stylua /usr/bin/stylua StyLua is available on macOS via the [Homebrew](https://brew.sh) package manager. ```sh -brew install stylelua +brew install stylua ``` ### Other Installation Methods