mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
.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:
parent
6e0ed24a84
commit
b1a549d4fa
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue