{ "editor.defaultFormatter": "ibecker.treefmt-vscode", "treefmt.command": "treefmt", "editor.formatOnSave": true, "nix.enableLanguageServer": true, "nix.serverPath": "nil", "nix.serverSettings": { // settings for 'nil' LSP "nil": { "autoArchive": true, "diagnostics": { "ignored": [ "unused_binding", "unused_with" ] }, // TODO: this doesn't work because treefmt-nix wants the output path as an argument // "formatting": { // "command": [ // "treefmt-nix", // "--stdin", // "/dev/stdout" // ] // } } }, }