Do not shutdown lsp during claim_term

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

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

Loading…
Cancel
Save