Tolerate language servers reporting non-monotonic buffer versions

This isn't perfect but we'll retain up to 10 old versions just in case there
are race conditions in the language server. We haven't seen this in the wild
but we're concerned about diagnostic reporting racing with code action
resolution.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
7a35ea7b25Antonio Scandurra committed on 2/7/2022, 3:29:05 PMparenta172c3c
2 files changedLine totals unavailable