plugins/lsp: add nushell language server

This commit is contained in:
siph 2024-01-10 19:01:45 -07:00 committed by Gaétan Lepage
parent 65689c5dd8
commit 7d6c62833b
2 changed files with 6 additions and 0 deletions

View file

@ -413,6 +413,11 @@ with lib; let
package = pkgs.nixd;
settings = cfg: {nixd = cfg;};
}
{
name = "nushell";
description = "Enable nushell language server";
cmd = cfg: ["${cfg.package}/bin/nu" "--lsp"];
}
{
name = "ols";
description = "Enable ols, for the odin programming language";

View file

@ -122,6 +122,7 @@
metals.enable = true;
nil_ls.enable = true;
nixd.enable = true;
nushell.enable = true;
ols.enable =
# ols is not supported on aarch64-linux
(pkgs.stdenv.hostPlatform.system != "aarch64-linux")