Make python run local worktree LSPs (#18353)

Release Notes:

- Python: made it possible to use locally installed `pyright` if
available

---------

Co-authored-by: conrad <conrad@zed.dev>
This commit is contained in:
Mikayla Makiandconrad authored and GitHub committed 2024-09-25 12:45:41 -07:00
1 parent a523377090
commit b89f27bb14
4 files changed
+73 -1

No files matched your search

+2 -1
View File
@@ -177,6 +177,7 @@ impl NodeRuntime {
"5000",
]);
// This is also wrong because the directory is wrong.
self.run_npm_subcommand(directory, "install", &arguments)
.await?;
Ok(())
@@ -576,7 +577,7 @@ impl NodeRuntimeTrait for SystemNodeRuntime {
}
}
async fn read_package_installed_version(
pub async fn read_package_installed_version(
node_module_directory: PathBuf,
name: &str,
) -> Result<Option<String>> {