feat: introduce treefmt and fmt all
This commit is contained in:
parent
80250b0179
commit
27c6c4f9fa
237 changed files with 5440 additions and 5214 deletions
36
.vscode/settings.json
vendored
36
.vscode/settings.json
vendored
|
@ -1,19 +1,21 @@
|
|||
{
|
||||
"nix.serverSettings": {
|
||||
// settings for 'nil' LSP
|
||||
"nil": {
|
||||
"autoArchive": true,
|
||||
"diagnostics": {
|
||||
"ignored": [
|
||||
"unused_binding",
|
||||
"unused_with"
|
||||
]
|
||||
},
|
||||
"formatting": {
|
||||
"command": [
|
||||
"treefmt-nix",
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"editor.defaultFormatter": "ibecker.treefmt-vscode",
|
||||
"editor.formatOnSave": true,
|
||||
"nix.enableLanguageServer": true,
|
||||
"nix.serverPath": "nil",
|
||||
"nix.serverSettings": {
|
||||
// settings for 'nil' LSP
|
||||
"nil": {
|
||||
"autoArchive": true,
|
||||
"diagnostics": {
|
||||
"ignored": ["unused_binding", "unused_with"]
|
||||
},
|
||||
"formatting": {
|
||||
"command": ["treefmt-nix", "--stdin", ".nil.nix"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"[nix]": {
|
||||
"editor.defaultFormatter": "jnoortheen.nix-ide"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue