Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:LspStatus returns typescript-language-server: not running #743

Open
OurCodeBase opened this issue May 9, 2024 · 2 comments
Open

:LspStatus returns typescript-language-server: not running #743

OurCodeBase opened this issue May 9, 2024 · 2 comments

Comments

@OurCodeBase
Copy link

Why :LspStatus returns typescript-language-server: not running ?
Please show me how to run typescript-language-server in neovim.

$ vi helloworld.js
:PlugInstall
:LspInstallServer
:LspStatus
typescript-language-server: not running

I have read closed issue #547 and included these lines to init.vim file:-

let g:lsp_diagnostics_echo_cursor = 1
let g:lsp_settings = {
\ 'efm-langserver': {
\   'disabled': v:false
\ },
\ }

autocmd BufWritePre *.js,*.jsx call execute('LspDocumentFormatSync --server=efm-langserver')

But the error still appears the same...

@mattn
Copy link
Owner

mattn commented May 9, 2024

Question:

  • Do it have deno.json exists on root of your project directory?
  • Do it have node_modules on root of your project directory?

@OurCodeBase
Copy link
Author

No, I'm using tsserver on a standalone script.js file. Expecting auto-completions on atleast console.log().

@OurCodeBase OurCodeBase changed the title :LspStatus returns typescript-language-server: not running :LspStatus returns typescript-language-server: not running May 18, 2024
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

No branches or pull requests

2 participants