Revert "project: Handle textDocument/didSave and textDocument/didChange (un)registration and usage correctly (#36441)" (#36480)

This reverts commit c5991e74bb.

This PR broke rust-analyzer's check on save function, so reverting for
now

Release Notes:

- N/A
This commit is contained in:
Lukas Wirth 2025-08-19 14:32:26 +02:00 committed by GitHub
parent 2fb89c9b3e
commit 9e8ec72bd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 57 deletions

View file

@ -827,7 +827,7 @@ impl LanguageServer {
}),
synchronization: Some(TextDocumentSyncClientCapabilities {
did_save: Some(true),
dynamic_registration: Some(true),
dynamic_registration: Some(false),
..TextDocumentSyncClientCapabilities::default()
}),
code_lens: Some(CodeLensClientCapabilities {