Fix vscode nix formatter
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -12,10 +12,9 @@ lib.mkIf config.programs.vscode.languages.nix.enable {
|
|||||||
"nix.serverSettings" = {
|
"nix.serverSettings" = {
|
||||||
nil = {
|
nil = {
|
||||||
formatting.command = [
|
formatting.command = [
|
||||||
(lib.meta.getExe pkgs.nix)
|
(lib.meta.getExe pkgs.nixfmt-rfc-style)
|
||||||
"fmt"
|
|
||||||
"--"
|
|
||||||
"--"
|
"--"
|
||||||
|
"-"
|
||||||
];
|
];
|
||||||
nix = {
|
nix = {
|
||||||
maxMemoryMB = null;
|
maxMemoryMB = null;
|
||||||
|
Reference in New Issue
Block a user