From ca4ae7f28700b5465bf746935d4ff873547ced2e Mon Sep 17 00:00:00 2001 From: Skyler Hawthorne Date: Fri, 6 Jun 2025 11:16:36 -0400 Subject: [PATCH] set working dir of the lsp command to workspace root (#13691) --- helix-lsp/src/client.rs | 1 + 1 file changed, 1 insertion(+) 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();