Revert "Route language server requests through wrapper object"
This reverts commit 9b63d6f832
.
This commit is contained in:
parent
9b63d6f832
commit
e1cd6cebb9
3 changed files with 52 additions and 142 deletions
|
@ -665,11 +665,11 @@ impl LanguageServer {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn name<'a>(&self) -> &str {
|
||||
pub fn name<'a>(self: &'a Arc<Self>) -> &'a str {
|
||||
&self.name
|
||||
}
|
||||
|
||||
pub fn capabilities<'a>(&self) -> &ServerCapabilities {
|
||||
pub fn capabilities<'a>(self: &'a Arc<Self>) -> &'a ServerCapabilities {
|
||||
&self.capabilities
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue