Properly update inlay hints when settings are changed
This commit is contained in:
parent
1ed52276e0
commit
c898298c5c
4 changed files with 315 additions and 189 deletions
|
@ -303,7 +303,7 @@ impl DisplayMap {
|
|||
.update(cx, |map, cx| map.sync(snapshot, edits, cx));
|
||||
self.block_map.read(snapshot, edits);
|
||||
|
||||
let new_inlays = to_insert
|
||||
let new_inlays: Vec<(InlayId, InlayProperties<String>)> = to_insert
|
||||
.into_iter()
|
||||
.map(|(inlay_id, hint_anchor, hint)| {
|
||||
let mut text = hint.text();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue