diff --git a/helix-lsp/src/lib.rs b/helix-lsp/src/lib.rs index 79d9609e1c5f..516c93ca1ff9 100644 --- a/helix-lsp/src/lib.rs +++ b/helix-lsp/src/lib.rs @@ -356,7 +356,11 @@ impl Registry { .await; if let Err(e) = value { - log::error!("failed to initialize language server: {}", e); + if let Error::LspNotDefined = e { + // Skip logging "lsp not defined" + } else { + log::error!("failed to initialize language server: {}", e); + } return; }