diff --git a/crates/languages/src/python.rs b/crates/languages/src/python.rs index 4a0cc7078b..0524c02fd5 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 { Some(SharedString::new_static("pyproject.toml").into()) } + + fn workspace_folders_content(&self) -> WorkspaceFoldersContent { + WorkspaceFoldersContent::WorktreeRoot + } } #[cfg(test)]