aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/formatter_options.md10
1 files changed, 10 insertions, 0 deletions
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 -->