diff options
Diffstat (limited to 'helix-lsp')
-rw-r--r-- | helix-lsp/src/lib.rs | 6 |
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; } |