integrate nixd
This commit is contained in:
parent
4477d0d4a2
commit
1c6a1a4305
3 changed files with 42 additions and 28 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue