Skip to content

Commit f82ab93

Browse files
authored
fix(rust): Fix recommended vscode settings for rust-analyzer (#17)
1 parent cd04239 commit f82ab93

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

Diff for: .vscode/settings.recommended.json

+15-6
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,19 @@
99
},
1010
"files.autoSave": "afterDelay",
1111
"editor.formatOnType": true,
12-
"editor.rulers": [100],
12+
"editor.rulers": [
13+
100
14+
],
1315
"editor.tabSize": 4,
1416
"debug.openDebug": "openOnDebugBreak",
1517
"debug.internalConsoleOptions": "openOnSessionStart",
1618
"dart.debugSdkLibraries": false,
1719
"[dart]": {
1820
"editor.formatOnSave": true,
1921
"editor.formatOnType": true,
20-
"editor.rulers": [80],
22+
"editor.rulers": [
23+
80
24+
],
2125
"editor.codeActionsOnSave": {
2226
"source.fixAll": true,
2327
"source.organizeImports": true
@@ -46,8 +50,11 @@
4650
"files.associations": {
4751
"Earthfile": "earthfile"
4852
},
49-
"rust-analyzer.linkedProjects": ["crates/*"],
50-
"rust-analyzer.check.overrideCommand": ["bash", "-c", "cargo lint-vscode"],
53+
"rust-analyzer.check.overrideCommand": [
54+
"bash",
55+
"-c",
56+
"cargo lint-vscode"
57+
],
5158
"yaml.schemas": {
5259
"https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs.yml"
5360
},
@@ -64,6 +71,8 @@
6471
"files.trimTrailingWhitespace": true,
6572
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint"
6673
},
67-
"rust-analyzer.rustfmt.extraArgs": ["+nightly"],
74+
"rust-analyzer.rustfmt.extraArgs": [
75+
"+nightly"
76+
],
6877
"rust-analyzer.lens.enable": true
69-
}
78+
}

0 commit comments

Comments
 (0)