.devcontainer: apply nixfmt-rfc-style on save

formatterPath does not support the specifier "nixfmt-rfc-style"

92fdb077e9/package.json (L76-L85)

Currently it is just ignored,
because of we are setting LSP.

92fdb077e9/README.md (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:45 +09:00
parent 6e0ed24a84
commit b1a549d4fa
No known key found for this signature in database
GPG Key ID: 9BE4016A38165CCB

View File

@ -15,7 +15,9 @@
"jnoortheen.nix-ide" "jnoortheen.nix-ide"
], ],
"settings": { "settings": {
"nix.formatterPath": "nixfmt-rfc-style", "[nix]": {
"editor.formatOnSave": true
},
"nix.enableLanguageServer": true, "nix.enableLanguageServer": true,
"nix.serverPath": "nixd" "nix.serverPath": "nixd"
} }