.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:
Kenichi Kamiya
2025-04-06 23:52:51 +09:00
parent 6e0ed24a84
commit b1a549d4fa
+3 -1
View File
@@ -15,7 +15,9 @@
"jnoortheen.nix-ide"
],
"settings": {
"nix.formatterPath": "nixfmt-rfc-style",
"[nix]": {
"editor.formatOnSave": true
},
"nix.enableLanguageServer": true,
"nix.serverPath": "nixd"
}