You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.
It seems like lspconfig is unable to find a root directory (workspace) to start the server in (see :h lspconfig-root-dir). By doing npm install typescript-language-server ts-server, it will (among other things) create a package.json file in your current directory. As a direct result of this, lspconfig will now be able to find a root directory!
Problem description
The typescript-language-server doesn't start when opening a simple javascript file.
:LspInfo
When lunched with coc it works as intended. Which leads me to believe the problem is related with nvim-lsp-installer
Neovim version (>= 0.6)
NVIM v0.7.0-dev+1395-ge135adcb8
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Operating system/version
Linux desk 5.17.1-arch1-1 #1 SMP PREEMPT Mon, 28 Mar 2022 20:55:33 +0000 x86_64 GNU/Linux
I've recently downloaded the latest plugin version of both nvim-lsp-installer and nvim-lspconfig
Affected language servers
tsserver
Steps to reproduce
Actual behavior
Expected behavior
I expect the root folder to be found.
LspInfo
Healthcheck
The text was updated successfully, but these errors were encountered: