docs(rust): rustic-format-{on-save,trigger}
Ref: #5800 Co-authored-by: brotzeit <brotzeitmacher@gmail.com>
This commit is contained in:
parent
88844e9cec
commit
2236c3bcda
1 changed files with 2 additions and 2 deletions
|
@ -118,8 +118,8 @@ eglot instead.
|
||||||
** error[E0670]: `async fn` is not permitted in the 2015 edition
|
** error[E0670]: `async fn` is not permitted in the 2015 edition
|
||||||
You may be seeing this error, despite having ~edition = "2018"~ in your
|
You may be seeing this error, despite having ~edition = "2018"~ in your
|
||||||
=Cargo.toml=. This error actually originates from ~rustfmt~, which the LSP
|
=Cargo.toml=. This error actually originates from ~rustfmt~, which the LSP
|
||||||
server tries to invoke on save (if you have ~rustic-format-on-save~ or
|
server tries to invoke on save (if you have ~rustic-format-trigger~ or [[doom-module:][:editor
|
||||||
[[doom-module:][:editor format]] enabled).
|
format]] enabled).
|
||||||
|
|
||||||
To fix this your project needs a =rustfmt.toml= with ~edition = "2018"~ in it.
|
To fix this your project needs a =rustfmt.toml= with ~edition = "2018"~ in it.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue