You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Values in LSP may only be null where explicitly stated in the spec, i.e. with their type including | null.
insertTextFormat has the specification:
/**
* The format of the insert text. The format applies to both the
* `insertText` property and the `newText` property of a provided
* `textEdit`. If omitted defaults to `InsertTextFormat.PlainText`.
*/
insertTextFormat?: InsertTextFormat;
And therefore may not be null (but may be omitted, hence the ?).
But cmake-language-server returns null for insertTextFormat. this is not valid, and breaks conforming clients.
Thank you for reporting.
If you tried the PyPI released version, would you please try the latest master? The master requires pygls 0.10, which includes openlawlibrary/pygls#139.
Values in LSP may only be
null
where explicitly stated in the spec, i.e. with their type including| null
.insertTextFormat
has the specification:And therefore may not be
null
(but may be omitted, hence the?
).But
cmake-language-server
returnsnull
forinsertTextFormat
. this is not valid, and breaks conforming clients.Example:
I was led to believe that this was fixed in
pygls
under openlawlibrary/pygls#139The text was updated successfully, but these errors were encountered: