Skip to content

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

@OurCodeBase

Description

@OurCodeBase

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions