mirror of https://github.com/helix-editor/helix
reduce indentation level
parent
dacaef17ea
commit
7afdd1cc94
|
@ -704,12 +704,10 @@ impl Registry {
|
||||||
}) {
|
}) {
|
||||||
return Some((name.to_owned(), Ok(client.clone())));
|
return Some((name.to_owned(), Ok(client.clone())));
|
||||||
}
|
}
|
||||||
} else {
|
} else if !autostart {
|
||||||
// If autostart LSP turned off, do not automatically start a client for server
|
// If autostart LSP turned off, do not automatically start a client for server
|
||||||
// Try emulate the empty clients list behavior for disable LSP
|
// Try emulate the empty clients list behavior for disable LSP
|
||||||
if !autostart {
|
return None;
|
||||||
return None;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
match self.start_client(
|
match self.start_client(
|
||||||
name.clone(),
|
name.clone(),
|
||||||
|
|
Loading…
Reference in New Issue