Editors: format using alejandra

This commit is contained in:
Toast 2024-03-20 12:44:55 +01:00
parent 9351f85534
commit 82bbd7ce87
2 changed files with 14 additions and 1 deletions

12
.vscode/settings.json vendored
View file

@ -1,5 +1,15 @@
{
"editor.detectIndentation": true,
"editor.insertSpaces": true,
"editor.defaultFormatter": "jnoortheen.nix-ide"
"editor.defaultFormatter": "jnoortheen.nix-ide",
"nix.formatterPath": "alejandra",
"nix.serverSettings": {
"nil": {
"formatting": {
"command": [
"alejandra"
]
}
}
}
}