diff --git a/README.md b/README.md index 35bb601..3525a42 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 🛠️ rekson +# ⚡ rekson rectify your json ## 🍎 Motivation @@ -55,6 +55,25 @@ cargo install --git https://github.com/pinbraerts/rekson ### Binary Prebuilt binaries can be found at the [releases](https://github.com/pinbraerts/rekson/releases) page. +## 🛠️ Usage + +Pass dirty json to stdin, receive fixed json in stdout. + +### [conform.nvim](https://github.com/stevearc/conform.nvim) + +```lua +require("conform").setup({ + formatters = { + rekson = { + command = "rekson", + }, + }, + formatters_by_ft = { + json = { "rekson" }, + }) +}) +``` + ## 👀 Alternatives - https://github.com/adhocore/php-json-fixer - https://github.com/rhysd/fixjson