setup unison lsp

This commit is contained in:
Khaïs COLIN 2025-11-26 21:01:43 +01:00
parent 571640bf25
commit 2eb4a8e065
Signed by: logistic-bot
SSH key fingerprint: SHA256:3zI3/tx0ZpCLHCLPmEaGR4oeYCPMCzQxXhXutBmtOAU

View file

@ -483,12 +483,31 @@ in {
};
};
languages = {
language-server.ucm = {
command = "nc";
args = ["localhost" "5757"];
};
language = [
{
name = "nix";
auto-format = true;
formatter = {command = "alejandra";};
}
{
name = "unison";
scope = "source.unison";
injection-regex = "unison";
file-types = ["u"];
shebangs = [];
roots = [];
auto-format = false;
comment-token = "--";
indent = {
tab-width = 4;
unit = " ";
};
language-servers = ["ucm"];
}
];
};
};