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
This commit is contained in:
Stanislav Alekseev 2024-07-05 16:59:17 +03:00 committed by GitHub
parent 1bd585186a
commit a61188d137
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@ impl zed::Extension for OcamlExtension {
Ok(zed::Command {
command: path,
args: Vec::new(),
env: Default::default(),
env: worktree.shell_env(),
})
}