Rename LspAdapterTrait to LspAdapter and LspAdapter to CachedLspAdapter
This commit is contained in:
parent
aeb1b89c25
commit
d8b22a200e
9 changed files with 45 additions and 45 deletions
|
@ -18,7 +18,7 @@ lazy_static! {
|
|||
}
|
||||
|
||||
#[async_trait]
|
||||
impl super::LspAdapterTrait for GoLspAdapter {
|
||||
impl super::LspAdapter for GoLspAdapter {
|
||||
async fn name(&self) -> LanguageServerName {
|
||||
LanguageServerName("gopls".into())
|
||||
}
|
||||
|
@ -314,7 +314,7 @@ mod tests {
|
|||
let language = language(
|
||||
"go",
|
||||
tree_sitter_go::language(),
|
||||
Some(LspAdapter::new(GoLspAdapter).await),
|
||||
Some(CachedLspAdapter::new(GoLspAdapter).await),
|
||||
);
|
||||
|
||||
let theme = SyntaxTheme::new(vec![
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue