diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-04-01 12:02:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-01 12:02:44 -0400 |
commit | bac8e4f6f25367cf5b6c2095249cf144035a4fbd (patch) | |
tree | 75f4c3f2174d1481d95942fd8200bc4fb8475b18 /cli/lsp/tsc.rs | |
parent | ae1ba2af3c0dc45de074285f0e0a8440cf2895ec (diff) |
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
Diffstat (limited to 'cli/lsp/tsc.rs')
-rw-r--r-- | cli/lsp/tsc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 2980e546b..ef5d0e645 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -3530,7 +3530,7 @@ mod tests { fixtures: &[(&str, &str, i32, LanguageId)], location: &Path, ) -> StateSnapshot { - let mut documents = Documents::new(location); + let mut documents = Documents::new(location, Default::default()); for (specifier, source, version, language_id) in fixtures { let specifier = resolve_url(specifier).expect("failed to create specifier"); |