mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
Set up autoformat
This commit is contained in:
parent
488e911ed7
commit
cd0ee36e18
5 changed files with 34 additions and 16 deletions
3
.vscode/extensions.json
vendored
3
.vscode/extensions.json
vendored
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"bbenoist.nix"
|
||||
"bbenoist.nix",
|
||||
"b4dm4n.nixpkgs-fmt"
|
||||
]
|
||||
}
|
||||
6
.vscode/settings.json
vendored
Normal file
6
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix",
|
||||
"editor.defaultFormatter": "B4dM4n.nixpkgs-fmt",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnType": true
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue