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:
parent
416496225e
commit
1db4970c5a
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue