aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--doc/formatter_options.md10
2 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index d9ce5f9..ae46051 100644
--- a/README.md
+++ b/README.md
@@ -522,6 +522,7 @@ require("conform").formatters.my_formatter = {
- [injected](doc/formatter_options.md#injected)
- [prettier](doc/formatter_options.md#prettier)
- [rustfmt](doc/formatter_options.md#rustfmt)
+- [yew-fmt](doc/formatter_options.md#yew-fmt)
<!-- /FORMATTER_OPTIONS -->
diff --git a/doc/formatter_options.md b/doc/formatter_options.md
index 6dab826..5d3adb1 100644
--- a/doc/formatter_options.md
+++ b/doc/formatter_options.md
@@ -5,6 +5,7 @@
- [injected](#injected)
- [prettier](#prettier)
- [rustfmt](#rustfmt)
+- [yew-fmt](#yew-fmt)
<!-- /TOC -->
@@ -95,4 +96,13 @@ options = {
}
```
+## yew-fmt
+
+```lua
+options = {
+ -- The default edition of Rust to use when no Cargo.toml file is found
+ default_edition = "2021",
+}
+```
+
<!-- /OPTIONS -->