Commit dc996c6
authored
fix: document version reset on textDocument/didSave (#2695)
Fixes #2375
This PR fixes an issue where the document version is reset to `0` on
`textDocument/didSave`.
It is not documented in the LSP that the version should reset, see:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_didSave.
This caused a document version mismatch in editors when applying code
actions (for example see
zed-industries/zed#31014).File tree
1 file changed
+0
-2
lines changed- src/OmniSharp.LanguageServerProtocol/Handlers
1 file changed
+0
-2
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | 157 | | |
160 | 158 | | |
161 | 159 | | |
| |||
0 commit comments