Forbid extra inlay updates
This commit is contained in:
parent
97e5d40579
commit
31f0f9f7b1
5 changed files with 141 additions and 93 deletions
|
@ -2635,6 +2635,7 @@ impl Editor {
|
|||
Some(InlayHintQuery {
|
||||
buffer_id,
|
||||
buffer_version: buffer.read(cx).version(),
|
||||
cache_version: self.inlay_hint_cache.version(),
|
||||
excerpt_id,
|
||||
})
|
||||
} else {
|
||||
|
@ -2660,6 +2661,7 @@ impl Editor {
|
|||
InlayHintQuery {
|
||||
buffer_id: buffer.remote_id(),
|
||||
buffer_version: buffer.version(),
|
||||
cache_version: self.inlay_hint_cache.version(),
|
||||
excerpt_id,
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue