diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs index 1894dc5b1..c901ad334 100644 --- a/helix-lsp/src/client.rs +++ b/helix-lsp/src/client.rs @@ -201,6 +201,7 @@ impl Client { .stdin(Stdio::piped()) .stdout(Stdio::piped()) .stderr(Stdio::piped()) + .current_dir(&root_path) // make sure the process is reaped on drop .kill_on_drop(true) .spawn();