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:
parent
dc7c49bd0b
commit
ae6a3d15af
4 changed files with 73 additions and 1 deletions
|
@ -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>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue