add lsp support for nix in helix
This commit is contained in:
parent
ba4c654f0c
commit
458b6943ad
1 changed files with 7 additions and 0 deletions
|
@ -2,5 +2,12 @@
|
||||||
programs.helix = {
|
programs.helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = inputs.helix.packages."${system}".helix;
|
package = inputs.helix.packages."${system}".helix;
|
||||||
|
languages = [{
|
||||||
|
name = "nix";
|
||||||
|
auto-format = true;
|
||||||
|
language-server = {
|
||||||
|
command = "${inputs.nil.packages.${system}.default}/bin/nil";
|
||||||
|
};
|
||||||
|
}];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue