mattn / vim-lsp-settings

Auto configurations for Language Server for vim-lsp
MIT License
1.28k stars 229 forks source link

Fix astro-ls server not starting #759

Closed shusch closed 1 month ago

shusch commented 2 months ago

In astro-ls server, I got the following error and :LspStatus failed.

error message:

Failed to initialize astro-ls with error -32603: Request initialize failed with message: The `typescript.tsdk` init option is required. It should point to a directory containing a `typescript.js` or `tsserverlibrary.js` file, such as `node_modules/typescript/lib`.

Volar, which astro-ls depends on, now uses tsdk instead of serverPath in initializationOptions, so I fixed it.

mattn commented 1 month ago

Thank you