Skip to content

Commit

Permalink
Configure vscode autoformater
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Jul 10, 2023
1 parent d638f7a commit b33ad2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"recommendations": [
"rust-lang.rust-analyzer",
"jnoortheen.nix-ide"
"jnoortheen.nix-ide",
"statiolake.vscode-rustfmt"
]
}
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
"editor.formatOnSave": true,
// https://twitter.com/sridca/status/1674947342607216641
"editor.inlayHints.enabled": "offUnlessPressed",
"[rust]": {
"editor.defaultFormatter": "statiolake.vscode-rustfmt"
}
}

0 comments on commit b33ad2f

Please sign in to comment.