.devcontainer: apply nixfmt-rfc-style on save
formatterPath does not support the specifier "nixfmt-rfc-style" https://github.com/nix-community/vscode-nix-ide/blob/92fdb077e9f18cc0048b15b1c07e5d18d629f76c/package.json#L76-L85 Currently it is just ignored, because of we are setting LSP. https://github.com/nix-community/vscode-nix-ide/blob/92fdb077e9f18cc0048b15b1c07e5d18d629f76c/README.md?plain=1#L63 This commit removes the unused config and enables auto formatter on save.
This commit is contained in:
@@ -15,7 +15,9 @@
|
||||
"jnoortheen.nix-ide"
|
||||
],
|
||||
"settings": {
|
||||
"nix.formatterPath": "nixfmt-rfc-style",
|
||||
"[nix]": {
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
"nix.enableLanguageServer": true,
|
||||
"nix.serverPath": "nixd"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user