diff options
Diffstat (limited to 'doc/formatter_options.md')
-rw-r--r-- | doc/formatter_options.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/formatter_options.md b/doc/formatter_options.md index e5c8493..6dab826 100644 --- a/doc/formatter_options.md +++ b/doc/formatter_options.md @@ -4,6 +4,7 @@ - [injected](#injected) - [prettier](#prettier) +- [rustfmt](#rustfmt) <!-- /TOC --> @@ -85,4 +86,13 @@ options = { } ``` +## rustfmt + +```lua +options = { + -- The default edition of Rust to use when no Cargo.toml file is found + default_edition = "2021", +} +``` + <!-- /OPTIONS --> |