feat: add hover config for showing container bounds

This commit is contained in:
roife 2024-06-11 20:59:06 +08:00
parent 184ddc6f5b
commit 78118f98f6
3 changed files with 60 additions and 14 deletions

View file

@ -430,6 +430,7 @@ pub(super) fn definition(
}
label
}
Definition::Function(fn_) => fn_.display_with_container_bounds(db, true).to_string(),
_ => def.label(db),
};
let docs = def.docs(db, famous_defs);