Edit: Content of the file and the completions turned out to need to omit any ‘contentArea’ similar to ‘Content-Length’, I guess. But, I figured it out and it works great now.
The error always arises when editing a struct with over two fields which kinda defeats the purpose of the language server if I cannot get this working. Any help would be much appreciated.
It’s like the any completions inside golang struct tags that is over 5 characters will cause the error to appear on the next completion request.
The repo containing my code is : https://github.com/conneroisu/seltabl/tree/main/tools/seltabls
Error executing luv callback:
/usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:265: /usr/local/share/nvim/runtime/lua/vim/lsp/rpc.lua:51: invalid header line "contentArea>table>tbody>tr.row_odd\" dSel:\"\" ctl:\"$text\"`\
33: 97: . . . . . . . \";\"\
34: 2: . . . . . . )\
34: 2: . . . . . . FieldDecl (\
34: 2: . . . . . . . IDENT C\
34: 4: . . . . . . . Type (\
34: 4: . . . . . . . . TypeName (\
34: 4: . . . . . . . . . IDENT string\
34: 11: . . . . . . . . )\
34: 11: . . . . . . . )\
34: 11: . . . . . . . STRING `json:\"c\" hSel:\"\" dSel:\"tr td:nth-child(1)\" ctl:\"$text\"`\
34: 67: . . . . . . . \";\"\
35: 1: . . . . . . )\
35: 1: . . . . . . \"}\"\
35: 2: . . . . . )\
35: 2: . . . . )\
35: 2: . . . . \";\"\
35: 3: . . . )\
35: 3: . . )\
35: 3: . )\
35: 3: )\
Content-Length: 471588"
stack traceback: