From a61188d13732dc87d060edc600d88a3f6a7b3fcb Mon Sep 17 00:00:00 2001 From: Stanislav Alekseev <43210583+WeetHet@users.noreply.github.com> Date: Fri, 5 Jul 2024 16:59:17 +0300 Subject: [PATCH] ocaml: Pass environment to language server (#13834) Fixed the environment not being passed to ocaml lsp causing it to not work with direnv based installs Release Notes: - N/A --- extensions/ocaml/src/ocaml.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/ocaml/src/ocaml.rs b/extensions/ocaml/src/ocaml.rs index 6b598730c3..b4aebf993d 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(), }) }