|
|
@ -44,8 +44,12 @@ impl Hover {
|
|
|
|
|
|
|
|
|
|
|
|
fn prepare_markdowns(&mut self) {
|
|
|
|
fn prepare_markdowns(&mut self) {
|
|
|
|
let Some((lsp_name, hover)) = self.hovers.get(self.active_index) else {
|
|
|
|
let Some((lsp_name, hover)) = self.hovers.get(self.active_index) else {
|
|
|
|
log::info!("prepare_markdowns: failed \nindex:{}\ncount:{}", self.active_index, self.hovers.len());
|
|
|
|
log::info!(
|
|
|
|
return
|
|
|
|
"prepare_markdowns: failed \nindex:{}\ncount:{}",
|
|
|
|
|
|
|
|
self.active_index,
|
|
|
|
|
|
|
|
self.hovers.len()
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
return;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
self.header = Some(Markdown::new(
|
|
|
|
self.header = Some(Markdown::new(
|
|
|
|
format!(
|
|
|
|
format!(
|
|
|
|