Set up autoformat

This commit is contained in:
Sridhar Ratnakumar 2021-04-07 18:29:14 -04:00
parent 488e911ed7
commit cd0ee36e18
5 changed files with 34 additions and 16 deletions

View file

@ -1,5 +1,6 @@
{
"recommendations": [
"bbenoist.nix"
"bbenoist.nix",
"b4dm4n.nixpkgs-fmt"
]
}

6
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,6 @@
{
"nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix",
"editor.defaultFormatter": "B4dM4n.nixpkgs-fmt",
"editor.formatOnSave": true,
"editor.formatOnType": true
}