Further unpropogate async
This commit is contained in:
parent
4f016d5fc4
commit
6585daccf9
12 changed files with 86 additions and 106 deletions
|
@ -258,6 +258,9 @@ impl LanguageServer {
|
|||
}
|
||||
}
|
||||
|
||||
/// Initializes a language server.
|
||||
/// Note that `options` is used directly to construct [`InitializeParams`],
|
||||
/// which is why it is owned.
|
||||
pub async fn initialize(mut self, options: Option<Value>) -> Result<Arc<Self>> {
|
||||
let root_uri = Url::from_file_path(&self.root_path).unwrap();
|
||||
#[allow(deprecated)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue