Start work on allowing language servers to support multiple languages
This commit is contained in:
parent
0e1d371a67
commit
158d987965
8 changed files with 118 additions and 102 deletions
|
@ -14,8 +14,8 @@ use super::GithubRelease;
|
|||
pub struct RustLspAdapter;
|
||||
|
||||
impl LspAdapter for RustLspAdapter {
|
||||
fn name(&self) -> &'static str {
|
||||
"rust-analyzer"
|
||||
fn name(&self) -> LanguageServerName {
|
||||
LanguageServerName("rust-analyzer".into())
|
||||
}
|
||||
|
||||
fn fetch_latest_server_version(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue