Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
python: Use a single workspace folder for basedpyright (#35292)
Cole Miller7878eacc7348
diff --git a/crates/languages/src/python.rs b/crates/languages/src/python.rsindex 4a0cc7078b3..0524c02fd5b 100644--- a/crates/languages/src/python.rs+++ b/crates/languages/src/python.rs@@ -1625,6 +1625,10 @@ impl LspAdapter for BasedPyrightLspAdapter {fn manifest_name(&self) -> Option<ManifestName> {Some(SharedString::new_static("pyproject.toml").into())}++ fn workspace_folders_content(&self) -> WorkspaceFoldersContent {+ WorkspaceFoldersContent::WorktreeRoot+ }}#[cfg(test)]