Required message
field is missing from error response ContentModified
#879
Labels
bug
Something isn't working
I am using lua-language-server using nvim-lsp client.
When I try to jump to definition inside a file which has not completed loading, sometimes I get
ContentModified
error response.https://github.com/sumneko/lua-language-server/blob/9744eb716f3b521f14331d4769925380c3dc3d84/script/proto/define.lua#L186
The response object has
code
but nomessage
field.Example here
That is causing the error in telescope-lsp handler which I am fixing in nvim-telescope/telescope.nvim#1630
I checked Language Server Protocol specification and it seems
message
field is required and cannot be omitted.Link here
If I understand it correctly then lua-language-server should be returning an error response which always contains
message
field.The text was updated successfully, but these errors were encountered: