mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
fix(repl): disable language server document preloading in the repl (#18543)
This was an oversight because the repl uses the language server under the hood. Also, never preloads from a root directory. Part of #18538
This commit is contained in:
parent
ae1ba2af3c
commit
bac8e4f6f2
7 changed files with 110 additions and 26 deletions
|
@ -463,7 +463,7 @@ impl Inner {
|
|||
ModuleRegistry::new(&module_registries_location, http_client.clone())
|
||||
.unwrap();
|
||||
let location = dir.deps_folder_path();
|
||||
let documents = Documents::new(&location);
|
||||
let documents = Documents::new(&location, client.kind());
|
||||
let deps_http_cache = HttpCache::new(&location);
|
||||
let cache_metadata = cache::CacheMetadata::new(deps_http_cache.clone());
|
||||
let performance = Arc::new(Performance::default());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue