Skip to content

Commit

Permalink
plugins/lsp: add nushell language server
Browse files Browse the repository at this point in the history
  • Loading branch information
siph authored and GaetanLepage committed Jan 11, 2024
1 parent 65689c5 commit 7d6c628
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/lsp/language-servers/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
1 change: 1 addition & 0 deletions tests/test-sources/plugins/lsp/_lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 7d6c628

Please sign in to comment.