mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 02:22:40 +00:00
perf(lsp): lock out requests until init is complete (#23998)
This commit is contained in:
parent
2024c974b6
commit
14a74600de
9 changed files with 321 additions and 239 deletions
|
@ -1629,9 +1629,8 @@ mod tests {
|
|||
.unwrap();
|
||||
config.tree.inject_config_file(config_file).await;
|
||||
}
|
||||
let resolver = LspResolver::default()
|
||||
.with_new_config(&config, &cache, None)
|
||||
.await;
|
||||
let resolver =
|
||||
Arc::new(LspResolver::from_config(&config, &cache, None).await);
|
||||
let mut documents = Documents::default();
|
||||
documents.update_config(&config, &resolver, &cache, &Default::default());
|
||||
for (specifier, source, version, language_id) in sources {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue