aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helix-lsp/src/lib.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/helix-lsp/src/lib.rs b/helix-lsp/src/lib.rs
index 79d9609e..516c93ca 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;
}