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