aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--doc/conform.txt1
-rw-r--r--lua/conform/formatters/rustywind.lua9
3 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1d7ec64..71c122f 100644
--- a/README.md
+++ b/README.md
@@ -203,6 +203,7 @@ To view configured and available formatters, as well as to see the log file, run
- [rubocop](https://github.com/rubocop/rubocop) - Ruby static code analyzer and formatter, based on the community Ruby style guide.
- [ruff](https://beta.ruff.rs/docs/) - An extremely fast Python linter, written in Rust.
- [rustfmt](https://github.com/rust-lang/rustfmt) - A tool for formatting rust code according to style guidelines.
+- [rustywind](https://github.com/avencera/rustywind) - A tool for formatting Tailwind CSS classes.
- [scalafmt](https://github.com/scalameta/scalafmt) - Code formatter for Scala.
- [shellcheck](https://github.com/koalaman/shellcheck) - A static analysis tool for shell scripts.
- [shellharden](https://github.com/anordal/shellharden) - The corrective bash syntax highlighter
diff --git a/doc/conform.txt b/doc/conform.txt
index fe3bcf7..92a2c4e 100644
--- a/doc/conform.txt
+++ b/doc/conform.txt
@@ -210,6 +210,7 @@ FORMATTERS *conform-formatter
style guide.
`ruff` - An extremely fast Python linter, written in Rust.
`rustfmt` - A tool for formatting rust code according to style guidelines.
+rustywind - A tool for formatting Tailwind CSS classes.
`scalafmt` - Code formatter for Scala.
`shellcheck` - A static analysis tool for shell scripts.
`shellharden` - The corrective bash syntax highlighter
diff --git a/lua/conform/formatters/rustywind.lua b/lua/conform/formatters/rustywind.lua
new file mode 100644
index 0000000..d905212
--- /dev/null
+++ b/lua/conform/formatters/rustywind.lua
@@ -0,0 +1,9 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/avencera/rustywind",
+ description = "A tool for formatting Tailwind CSS classes.",
+ },
+ command = "rustywind",
+ args = { "--stdin" },
+}