change vscode nix formatter to nixfmt-tree
This commit is contained in:
parent
dc751016c0
commit
58e4784b31
1 changed files with 2 additions and 2 deletions
|
@ -59,13 +59,13 @@
|
||||||
|
|
||||||
"rust-analyzer.checkOnSave.command" = "clippy";
|
"rust-analyzer.checkOnSave.command" = "clippy";
|
||||||
|
|
||||||
"nix.formatterPath" = "${lib.getBin pkgs.nixfmt-rfc-style}/bin/nixfmt";
|
"nix.formatterPath" = "${lib.getBin pkgs.nixfmt-tree}/bin/nixfmt-tree";
|
||||||
"nix.enableLanguageServer" = true;
|
"nix.enableLanguageServer" = true;
|
||||||
"nix.serverPath" = "${lib.getBin pkgs.nil}/bin/nil";
|
"nix.serverPath" = "${lib.getBin pkgs.nil}/bin/nil";
|
||||||
"nix.serverSettings" = {
|
"nix.serverSettings" = {
|
||||||
"nil" = {
|
"nil" = {
|
||||||
"formatting" = {
|
"formatting" = {
|
||||||
"command" = [ "${lib.getBin pkgs.nixfmt-rfc-style}/bin/nixfmt" ];
|
"command" = [ "${lib.getBin pkgs.nixfmt-tree}/bin/nixfmt-tree" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue