Setup C adapter with test binary
This commit is contained in:
parent
4d24eae901
commit
f81ccbd652
5 changed files with 40 additions and 24 deletions
|
@ -109,9 +109,17 @@ impl super::LspAdapter for CLspAdapter {
|
|||
.await
|
||||
.log_err()
|
||||
}
|
||||
|
||||
fn installation_test_binary(&self, container_dir: PathBuf) -> LanguageServerBinary {
|
||||
unimplemented!();
|
||||
|
||||
async fn installation_test_binary(
|
||||
&self,
|
||||
container_dir: PathBuf,
|
||||
) -> Option<LanguageServerBinary> {
|
||||
self.cached_server_binary(container_dir)
|
||||
.await
|
||||
.map(|mut binary| {
|
||||
binary.arguments = vec!["--help".into()];
|
||||
binary
|
||||
})
|
||||
}
|
||||
|
||||
async fn label_for_completion(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue