From 4de9e04993bde582394180e08b8dcb12f440edd9 Mon Sep 17 00:00:00 2001 From: TD-Sky Date: Sun, 24 Aug 2025 16:25:08 +0800 Subject: [PATCH 1/2] feat(tombi): tombi formatter --- lua/guard-collection/formatter.lua | 6 ++++++ 1 file changed, 6 insertions(+) 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 From 1022c71b52180affe040b40b7dbcc25fa898f7aa Mon Sep 17 00:00:00 2001 From: TD-Sky Date: Sun, 24 Aug 2025 16:28:12 +0800 Subject: [PATCH 2/2] doc(readme): tombi formatter --- README.md | 1 + 1 file changed, 1 insertion(+) 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