feat: bump nix-direnv and tweak vscode nix LSP settings

This commit is contained in:
steveej 2024-08-17 17:19:34 +02:00
parent c66a7c65c2
commit 08cc57ada1
2 changed files with 19 additions and 6 deletions

19
.vscode/settings.json vendored
View file

@ -1,6 +1,19 @@
{
"nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix",
"[nix]": {
"editor.defaultFormatter": "jnoortheen.nix-ide"
"nix.serverSettings": {
// settings for 'nil' LSP
"nil": {
"autoArchive": true,
"diagnostics": {
"ignored": [
"unused_binding",
"unused_with"
]
},
"formatting": {
"command": [
"alejandra",
]
}
}
},
}