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
I think TextDocumentClientCapabilities is sent by the client. The server can declare its support for willSave in ServerCapabilities.textDocumentSync (which is a TextDocumentSyncOptions object).
But you're right in general, it is a bug that eglot doesn't check the capabilities of the server before sending :textDocument/willSave.
The server can declare its lack of support for didSave by omitting the save attribute from textDocumentSync. Eglot doesn't seem to check this either.
The server can specify in
TextDocumentClientCapabilities
if it wants to receive these notifications.The text was updated successfully, but these errors were encountered: