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.

haskell: Pass environment to `hls` (#15998)

Stanislav Alekseevf956257638aa
diff --git a/extensions/haskell/src/haskell.rs b/extensions/haskell/src/haskell.rs
index c2bd2b9ea10..2691a0d3330 100644
--- a/extensions/haskell/src/haskell.rs
+++ b/extensions/haskell/src/haskell.rs
@@ -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(),
})
}