Implement CppLspAdapter::name by delegating to CLspAdapter::name
This makes it more evident that both languages share the same language server. Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
co-authored by
Max Brunsfeld
parent
416496225e
commit
1db4970c5a
@@ -8,7 +8,7 @@ pub struct CppLspAdapter;
|
||||
|
||||
impl super::LspAdapter for CppLspAdapter {
|
||||
fn name(&self) -> LanguageServerName {
|
||||
LanguageServerName("clangd".into())
|
||||
super::c::CLspAdapter.name()
|
||||
}
|
||||
|
||||
fn fetch_latest_server_version(
|
||||
|
||||
Reference in New Issue
Block a user