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 2021-08-06 19:47:46 +02:00 committed by Blaž Hrastnik
parent b20a5c4c0e
commit 8714b71991
1 changed files with 0 additions and 1 deletions

View File

@ -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)?;
} }