reduce indentation level

pull/12085/head
GladkihEgor 2025-03-20 23:33:48 +05:00
parent dacaef17ea
commit 7afdd1cc94
1 changed files with 2 additions and 4 deletions

View File

@ -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(),