summaryrefslogtreecommitdiff
path: root/cli/lsp/documents.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-02-24 00:21:09 -0500
committerGitHub <noreply@github.com>2024-02-24 00:21:09 -0500
commit6567dc94a901aaae1b4e5b8e84d48bc72d46ee2e (patch)
treeff3674957c66c40e9d4cc5e1fc1c04b353bf6a46 /cli/lsp/documents.rs
parent76e8e02bba75f23097d28cec13829c2f5cfa4a25 (diff)
fix(lsp): import map expansion (#22553)
Diffstat (limited to 'cli/lsp/documents.rs')
-rw-r--r--cli/lsp/documents.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/documents.rs b/cli/lsp/documents.rs
index ddff92342..66ebe5115 100644
--- a/cli/lsp/documents.rs
+++ b/cli/lsp/documents.rs
@@ -1420,7 +1420,7 @@ impl Documents {
options.document_preload_limit,
options.maybe_import_map.as_deref(),
maybe_jsx_config.as_ref(),
- options.maybe_config_file.and_then(|c| c.vendor_dir_flag()),
+ options.maybe_config_file.and_then(|c| c.json.vendor),
maybe_package_json_deps.as_ref(),
options.maybe_config_file.map(|c| &c.json.unstable),
);