integrate nixd

This commit is contained in:
atagen 2023-09-28 13:40:19 +10:00
parent 4477d0d4a2
commit 1c6a1a4305
3 changed files with 42 additions and 28 deletions

View file

@ -166,9 +166,22 @@ in {
name = "rust";
language-servers = ["rust-analyzer"];
}
{
name = "nix";
language-servers = ["nixd"];
file-types = ["nix"];
auto-format = true;
formatter = {
command = "alejandra";
};
}
];
language-server = {
nixd = {
command = "nixd";
};
rust-analyzer = {
config = {
cargo = {
@ -184,7 +197,7 @@ in {
};
};
};
};
};
};
}; #language-server
}; #languages
}; #helix config
}