Revert "Route language server requests through wrapper object"

This reverts commit 9b63d6f832.
This commit is contained in:
Julia 2023-06-22 10:45:08 -04:00
parent 9b63d6f832
commit e1cd6cebb9
3 changed files with 52 additions and 142 deletions

View file

@ -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
}