Skip to content

Need help in setting up TypeScript LSP in Windows #962

Answered by ajitid
ajitid asked this question in Q&A
Discussion options

You must be logged in to vote

Adding .cmd solves the issue in Windows.

languages.toml:

[[language]]
name = "typescript"
language-server.command = "typescript-language-server.cmd"

Went through the issue you mentioned and also through an LSP installer for Neovim. It does not matter if you are running on PowerShell and could find a .ps1 script file, you would still need .cmd file instead because it is considered as an executable.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@sudormrfbin
Comment options

@ajitid
Comment options

@sudormrfbin
Comment options

Answer selected by ajitid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants