From: Luke Lau Date: Mon, 27 Jul 2020 12:19:07 +0000 (+0100) Subject: Fix formatting requests sending misversioned didChange notifications X-Git-Tag: 0.11.0.3 X-Git-Url: https://git.lukelau.me/?a=commitdiff_plain;ds=inline;h=fb93528b35992aef3ebe0a8b497cdd70aee21a12;hp=fb93528b35992aef3ebe0a8b497cdd70aee21a12;p=lsp-test.git Fix formatting requests sending misversioned didChange notifications Inside updateState, if a WorkspaceEdit with just the changes field was set then it would send back didChange notifications where all the document versions started from 0. This fixes it to actually take the current version inside the VFS before sending it back ---