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
So it looks like it's expecting textDocument or params to be a tuple rather than a dictionary. Is this a mal-formed notification JSON, or is there something else I'm doing incorrectly?
The text was updated successfully, but these errors were encountered:
Your function extracts a tuple, which doesn't seem right fn cast_notification<N>(not: lsp_server::Notification) -> Result<(RequestId, N::Params), lsp_server::Notification> ?
I have a
didSave
notification from the SublimeText LSP plugin which looks like this:I am trying to get a
DidSaveTextDocument
notification out of it using this method:And I get this error:
So it looks like it's expecting
textDocument
orparams
to be a tuple rather than a dictionary. Is this a mal-formed notification JSON, or is there something else I'm doing incorrectly?The text was updated successfully, but these errors were encountered: