diff --git a/README.md b/README.md index 8c6716a..4b8625f 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,7 @@ - [yamlfix](https://github.com/lyz-code/yamlfix) - [yamlfmt](https://github.com/google/yamlfmt) - [zigfmt](https://github.com/ziglang/zig) +- [tombi](https://github.com/tombi-toml/tombi) ## Linters diff --git a/lua/guard-collection/formatter.lua b/lua/guard-collection/formatter.lua index 25094ed..285c773 100644 --- a/lua/guard-collection/formatter.lua +++ b/lua/guard-collection/formatter.lua @@ -345,4 +345,10 @@ M.goimports = { stdin = true, } +M.tombi = { + cmd = 'tombi', + args = { 'format', '-' }, + stdin = true, +} + return M