Implement InlayHint sync method and fix the bugs
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
This commit is contained in:
parent
5ad85b44d6
commit
5fadbf77d4
3 changed files with 43 additions and 25 deletions
|
@ -1917,7 +1917,6 @@ impl LspCommand for InlayHints {
|
|||
.end
|
||||
.and_then(language::proto::deserialize_anchor)
|
||||
.context("invalid end")?;
|
||||
// TODO kb has it to be multiple versions instead?
|
||||
buffer
|
||||
.update(&mut cx, |buffer, _| {
|
||||
buffer.wait_for_version(deserialize_version(&message.version))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue