Just started getting this error after updating to neovim HEAD this morning. Have no changes in config, empty efm-langserver/config.yaml file (this has worked fine for months).
Downgrading to neovim stable 0.5.1 also gives the same error, and lsp log gives:
[ERROR][2021-11-11 15:16:52] .../vim/lsp/rpc.lua:412 "rpc" "efm-langserver" "stderr" "2021/11/11 15:04:46 efm-langserver: reading on stdin, writing on stdout\n"
[ERROR][2021-11-11 15:16:53] .../lua/vim/lsp.lua:734 "LSP[sumneko_lua]" "on_error" { code = "SERVER_REQUEST_HANDLER_ERROR", err = "...AD-2ef9d2a_1/share/nvim/runtime/lua/vim/lsp/handlers.lua:74: attempt to index local 'client' (a nil value)"}
NOTE: the second error line about indexing client nil value, only happens sometimes.
The EFM server doesn't attach to any buffer it is configured for because of this exit code.
Full Error is:
Error executing vim.schedule lua callback: ...neovim/HEAD-2ef9d2a_1/share/nvim/runtime/lua/vim/lsp.lua:859: RPC[Error] code_name = unknown, code = 0, message = "parse \"\": empty url"
stack traceback:
[C]: in function 'assert'
...neovim/HEAD-2ef9d2a_1/share/nvim/runtime/lua/vim/lsp.lua:859: in function 'cb'
vim.lua:285: in function <vim.lua:285>
lspconfig-setup
^ using: neovim HEAD, efm 0.0.37Just started getting this error after updating to neovim HEAD this morning. Have no changes in config, empty efm-langserver/config.yaml file (this has worked fine for months).
Downgrading to neovim stable 0.5.1 also gives the same error, and lsp log gives:
NOTE: the second error line about indexing
client
nil value, only happens sometimes.The EFM server doesn't attach to any buffer it is configured for because of this exit code. Full Error is:
neovim HEAD vim/lsp.lua:859