Do not shutdown lsp during claim_term

Fixes a bug where the language server is told to shutdown directly after application start.
This commit is contained in:
Luctius 2021-08-06 19:47:46 +02:00 committed by Blaž Hrastnik
parent b20a5c4c0e
commit 8714b71991

View file

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