format code

This commit is contained in:
kyfanc 2024-08-27 12:31:14 +08:00
parent d10bce758f
commit 28029dcd07

View File

@ -44,8 +44,12 @@ pub fn new(
fn prepare_markdowns(&mut self) {
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());
return
log::info!(
"prepare_markdowns: failed \nindex:{}\ncount:{}",
self.active_index,
self.hovers.len()
);
return;
};
self.header = Some(Markdown::new(
format!(