Do not shutdown lsp during claim_term

Fixes a bug where the language server is told to shutdown directly after application start.
pull/557/head
Luctius 3 years ago committed by Blaž Hrastnik
parent b20a5c4c0e
commit 8714b71991

@ -489,7 +489,6 @@ impl Application {
terminal::enable_raw_mode()?; terminal::enable_raw_mode()?;
let mut stdout = stdout(); let mut stdout = stdout();
execute!(stdout, terminal::EnterAlternateScreen)?; execute!(stdout, terminal::EnterAlternateScreen)?;
self.editor.close_language_servers(None).await?;
if self.config.terminal.mouse { if self.config.terminal.mouse {
execute!(stdout, EnableMouseCapture)?; execute!(stdout, EnableMouseCapture)?;
} }

Loading…
Cancel
Save