Improve inlay hint cache lookup
This commit is contained in:
parent
8ae3f79235
commit
4e9f0adcef
3 changed files with 58 additions and 45 deletions
|
@ -188,7 +188,6 @@ pub fn update_inlay_link_and_hover_points(
|
|||
Bias::Right,
|
||||
);
|
||||
if let Some(hovered_hint) = editor
|
||||
// TODO kb look up by position with binary search
|
||||
.visible_inlay_hints(cx)
|
||||
.into_iter()
|
||||
.skip_while(|hint| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue