Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

ocaml: Pass environment to language server (#13834)

Stanislav Alekseeva61188d13732
diff --git a/extensions/ocaml/src/ocaml.rs b/extensions/ocaml/src/ocaml.rs
index 6b598730c37..b4aebf993d8 100644
--- a/extensions/ocaml/src/ocaml.rs
+++ b/extensions/ocaml/src/ocaml.rs
@@ -26,7 +26,7 @@ impl zed::Extension for OcamlExtension {
Ok(zed::Command {
command: path,
args: Vec::new(),
- env: Default::default(),
+ env: worktree.shell_env(),
})
}