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
There seems to be an error with FoldingRangeParams as it's missing the query field. Although it's not specified by LSP and it might be unneeded. As the new release now uses pydantic (#151) it is requiring the query filed and throwing an error if not used.
As specified by LSP:
exportinterfaceFoldingRangeParamsextendsWorkDoneProgressParams,
PartialResultParams {
/** * The text document. */textDocument: TextDocumentIdentifier;
}
There seems to be an error with
FoldingRangeParams
as it's missing thequery
field. Although it's not specified by LSP and it might be unneeded. As the new release now usespydantic
(#151) it is requiring thequery
filed and throwing an error if not used.As specified by LSP:
See LSP Reference for more details.
Error Traceback:
A possible solution is to remove the
query
from theFoldingRangeParams
implementation:pygls/pygls/lsp/types/language_features/folding_range.py
Lines 52 to 55 in 6ce5a50
The text was updated successfully, but these errors were encountered: