mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-13 12:56:27 +02:00
Update exec
plugin to latest version (#1046)
The latest version of `dprint` doesn't work with our old version of the `exec` plugin. This fixes the config based on https://github.com/dprint/dprint/issues/726.
This commit is contained in:
parent
8d9fddd92f
commit
f04dd2e87e
16
dprint.json
16
dprint.json
@ -4,18 +4,12 @@
|
|||||||
"markdown": {
|
"markdown": {
|
||||||
"textWrap": "always"
|
"textWrap": "always"
|
||||||
},
|
},
|
||||||
"toml": {},
|
|
||||||
"exec": {
|
"exec": {
|
||||||
"associations": "**/*.rs",
|
"commands": [{
|
||||||
"rustfmt": "rustfmt --edition 2021",
|
"command": "rustfmt --edition 2021",
|
||||||
"rustfmt.associations": "**/*.rs"
|
"exts": ["rs"]
|
||||||
|
}]
|
||||||
},
|
},
|
||||||
"includes": [
|
|
||||||
"**/*.json",
|
|
||||||
"**/*.md",
|
|
||||||
"**/*.rs",
|
|
||||||
"**/*.toml"
|
|
||||||
],
|
|
||||||
"excludes": [
|
"excludes": [
|
||||||
"/book/",
|
"/book/",
|
||||||
"/src/",
|
"/src/",
|
||||||
@ -23,7 +17,7 @@
|
|||||||
"target/"
|
"target/"
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"https://plugins.dprint.dev/exec-0.3.5.json@d687dda57be0fe9a0088ccdaefa5147649ff24127d8b3ea227536c68ee7abeab",
|
"https://plugins.dprint.dev/exec-0.4.3.json@42343548b8022c99b1d750be6b894fe6b6c7ee25f72ae9f9082226dd2e515072",
|
||||||
"https://plugins.dprint.dev/json-0.17.2.wasm",
|
"https://plugins.dprint.dev/json-0.17.2.wasm",
|
||||||
"https://plugins.dprint.dev/markdown-0.15.2.wasm",
|
"https://plugins.dprint.dev/markdown-0.15.2.wasm",
|
||||||
"https://plugins.dprint.dev/toml-0.5.4.wasm"
|
"https://plugins.dprint.dev/toml-0.5.4.wasm"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user