Skip to content

Commit

Permalink
tests/lsp-servers: disable typescript-language-server on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Nov 3, 2024
1 parent 454f328 commit 98e8fcd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions tests/lsp-servers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ let
disabled =
lib.optionals pkgs.stdenv.isDarwin [
"fsautocomplete"
# typescript-language-server's dependency git-lfs is broken as of 2024-11-03
"ts_ls"
]
++ lib.optionals pkgs.stdenv.isAarch64 [
# Broken
Expand Down
10 changes: 6 additions & 4 deletions tests/test-sources/plugins/lsp/_lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,15 @@
};

volar-tsls-integration =
{ config, ... }:
{ config, pkgs, ... }:
{
plugins.lsp = {
enable = true;
servers = {
volar.enable = true;
ts_ls = {
enable = true;
# TODO typescript-language-server's dependency git-lfs is broken as of 2024-11-03
enable = !pkgs.stdenv.isDarwin;
filetypes = [ "typescript" ];
};
};
Expand All @@ -128,13 +129,14 @@
};

tsls-filetypes =
{ config, ... }:
{ config, pkgs, ... }:
{
plugins.lsp = {
enable = true;
servers = {
ts_ls = {
enable = true;
# TODO typescript-language-server's dependency git-lfs is broken as of 2024-11-03
enable = !pkgs.stdenv.isDarwin;
};
};
};
Expand Down

0 comments on commit 98e8fcd

Please sign in to comment.