Closed jclsn closed 4 months ago
Reproduced, the bitbake-language-server response didn't provide Content-Length property, vscode-jsonrpc was failed to get content-length
value, this is must needed.
@Freed-Wu
Content-Length property
I'll take a look at my leisure.
Output from
:CocCommand workspace.showOutput
:Result from CocInfo
Describe the bug
The language server starts up fine, but as soon as insert mode is entered and something is edited, the server crashes with
Error: Header must provide a Content-Length property
. To rule out the server is faulty, I have set it up in https://github.com/yegappan/lsp and there is no issue here. There are similar issues here and hereRelated issue: https://github.com/Freed-Wu/bitbake-language-server/issues/6
Reproduce the bug
We will close your issue when you don't provide minimal vimrc and we can't reproduce it
mini.vim
with:coc-settings.json
Open a Bitbake file, e.g. https://raw.githubusercontent.com/openembedded/meta-openembedded/master/meta-oe/recipes-support/btop/btop_1.3.2.bb
Screenshots (optional)
If applicable, add screenshots to help explain your problem.