Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-lsp/src/lib.rs')
-rw-r--r--helix-lsp/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-lsp/src/lib.rs b/helix-lsp/src/lib.rs
index 4c5ec3b9..ecbf1084 100644
--- a/helix-lsp/src/lib.rs
+++ b/helix-lsp/src/lib.rs
@@ -9,6 +9,7 @@ pub use client::Client;
pub use futures_executor::block_on;
pub use helix_lsp_types as lsp;
pub use jsonrpc::Call;
+use log::warn;
pub use lsp::{Position, Url};
use futures_util::stream::select_all::SelectAll;
@@ -915,6 +916,8 @@ fn start_client(
.map(|entry| entry.file_name())
.any(|entry| globset.is_match(entry))
{
+ // TODO: also show the globset that should be matched: https://github.com/BurntSushi/ripgrep/issues/3274
+ warn!("The lsp {name:?} tried to start at {root_path:?} but failed to match it's 'required_root_patterns'");
return Err(StartupError::NoRequiredRootFound);
}
}