don't update documentation if completion is inactive
@@ -260,6 +260,10 @@ pub fn ensure_item_top_visible(
}
fn update_documentation(&mut self, data: &LapceTabData) {
+ if data.completion.status == CompletionStatus::Inactive {
+ return;
+ }
+
let documentation = if data.config.editor.completion_show_documentation {
let current_item = (!data.completion.is_empty())
.then(|| data.completion.current_item());
