|
|
@ -1238,12 +1238,19 @@ impl Editor {
|
|
|
|
.filter_map(|(lang, client)| match client {
|
|
|
|
.filter_map(|(lang, client)| match client {
|
|
|
|
Ok(client) => Some((lang, client)),
|
|
|
|
Ok(client) => Some((lang, client)),
|
|
|
|
Err(err) => {
|
|
|
|
Err(err) => {
|
|
|
|
log::error!(
|
|
|
|
if let helix_lsp::Error::ExecutableNotFound(err) = err {
|
|
|
|
"Failed to initialize the language servers for `{}` - `{}` {{ {} }}",
|
|
|
|
// Silence by default since some language servers might just not be installed
|
|
|
|
language.scope(),
|
|
|
|
log::debug!(
|
|
|
|
lang,
|
|
|
|
"Language server not found for `{}` {} {}", language.scope(), lang, err,
|
|
|
|
err
|
|
|
|
);
|
|
|
|
);
|
|
|
|
} else {
|
|
|
|
|
|
|
|
log::error!(
|
|
|
|
|
|
|
|
"Failed to initialize the language servers for `{}` - `{}` {{ {} }}",
|
|
|
|
|
|
|
|
language.scope(),
|
|
|
|
|
|
|
|
lang,
|
|
|
|
|
|
|
|
err
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
None
|
|
|
|
None
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|