add lsp support for nix in helix

This commit is contained in:
Cyryl Płotnicki 2022-12-08 20:02:21 +00:00
parent ba4c654f0c
commit 458b6943ad

View file

@ -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";
};
}];
}; };
} }