mirror of https://github.com/helix-editor/helix
add return value for the inlay hints removal
parent
ec38807642
commit
a35388a9e1
|
@ -5169,7 +5169,9 @@ pub fn remove_inlay_hint_by_id(
|
||||||
doc.set_inlay_hints(
|
doc.set_inlay_hints(
|
||||||
view_id,
|
view_id,
|
||||||
DocumentInlayHints::empty_with_id(new_doc_inlay_hints_id),
|
DocumentInlayHints::empty_with_id(new_doc_inlay_hints_id),
|
||||||
)
|
);
|
||||||
|
|
||||||
|
return Some(());
|
||||||
}
|
}
|
||||||
|
|
||||||
return None;
|
return None;
|
||||||
|
|
Loading…
Reference in New Issue