WorkspaceFileUpdate
A pending update for a file, produced by Workspace.syncFiles.
Mirrors upstream @codemirror/lsp-client's WorkspaceFileUpdate. It carries the file along with the document as the server last saw it (prevDoc) and the accumulated changes to send. LSPClient.sync consumes these to emit textDocument/didChange notifications.
Parameters
file
The file being updated.
prevDoc
The document as last synchronized with the server.
changes
The changes to apply to prevDoc to reach WorkspaceFile.doc.