Skip to content

Fix tsgo to point to typescript instead of typescript-go - #4557

Open
ZacheryFaria wants to merge 2 commits into
nix-community:mainfrom
ZacheryFaria:zf/update-typescript-go
Open

ZacheryFaria wants to merge 2 commits into
nix-community:mainfrom
ZacheryFaria:zf/update-typescript-go

Conversation

@ZacheryFaria

@ZacheryFaria ZacheryFaria commented Sep 14, 2026 •

Copy link
Copy Markdown

Typescript 7 (TSGO) is now just typescript in mainline nixpkgs, typescript-go has been removed.

@ZacheryFaria
ZacheryFaria force-pushed the zf/update-typescript-go branch from 3841258 to 8a29a3d Compare September 14, 2026 20:23
@ZacheryFaria ZacheryFaria changed the title Fix typescript Fix tsgo to point to typescript instead of typescript-go Sep 14, 2026
Comment thread modules/lsp/servers/packages.nix Outdated
ts_ls = "typescript-language-server";
ts_query_ls = "ts_query_ls";
tsgo = "typescript-go";
tsgo = "typescript";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we also rename the server to tsc?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point. i think we should

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't define the lsp module names; we inherit them from upstream nvim-lspconfig. Attempting to rename them like this results in the following CI failure:

lsp: The following are not declared in modules/lsp/servers/packages.nix:

  • tsgo
    lsp: The following are not listed upstream, but are declared in modules/lsp/servers/packages.nix:
  • tsc

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that tsc is available in nvim-lspconfig

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants