Allow (ignore) duplicate document versions sent by client in didChange #310
Labels
bug
Something isn't working
text-synchronization
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocum
We initially set more restrictive rules to better understand the reality of how clients behave.
It has emerged that some clients (Sublime Text LSP
1.1.0
in particular), can send duplicatedidChange
requests. Below is a snippet of a log demonstrating that.Server Version
Terraform Version
Client Version
Terraform Configuration Files
Log Output
Expected Behavior
didChange
should not have returned error when the version and content match exactly, but it should probably still log this event.Actual Behavior
didChange
returned error.The text was updated successfully, but these errors were encountered: