Apply versioned workspace edits in the Neovim client

apply_workspace_edit accepts a full WorkspaceEdit: a changes map or
documentChanges with versioned TextDocumentEdits. Stale tracked
versions and resource operations are refused before any buffer is
touched, keeping the transactional rollback. The headless rename test
covers the versioned apply and both refusals.
This commit is contained in:
faumaray committed 2026-12-06 02:31:17 +03:00
1 parent 7e3ce6fc6c
commit a075bd55d8
4 files changed
+86 -7

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ missing part. Updated December 5, 2026 after semantic tokens and inlay hints.
| Overload-set signature help | observed overloads are listed with the compiler-selected one first; visibility and overload resolution are not proven |
| textDocument/formatting | needs a plan |
| callHierarchy / typeHierarchy | prepare, incomingCalls and outgoingCalls are implemented and served; outgoing calls are verified over stdio now that the observer reports full function extents. Type hierarchy is open. |
| Client-side application of server-issued workspace edits | rename and code actions return edits the clients apply directly |
| Client-side application of server-issued workspace edits | Neovim applies `changes` and versioned `documentChanges`; VS Code applies `changes` |
| Applying multi-file renames through client buffers | plans can be ready; application is client work |
| richer token types | legend has `function` and `type` (class, base, definition names) plus a `declaration` modifier; more types need further compiler spans |