haskell: Pass environment to hls (#15998)

Fixed environment not being passed to hls, breaking local nix-based
installations

Release Notes:

- N/A
This commit is contained in:
Stanislav Alekseev 2024-08-13 01:38:23 +03:00 committed by GitHub
parent 8a148f3a13
commit f956257638
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,7 +21,7 @@ impl zed::Extension for HaskellExtension {
Ok(zed::Command {
command: path,
args: vec!["lsp".to_string()],
env: Default::default(),
env: worktree.shell_env(),
})
}