setup unison lsp
This commit is contained in:
parent
571640bf25
commit
2eb4a8e065
1 changed files with 19 additions and 0 deletions
19
home.nix
19
home.nix
|
|
@ -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"];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue