Unnamed repository; edit this file 'description' to name the repository.
set working dir of the lsp command to workspace root (#13691)
| -rw-r--r-- | helix-lsp/src/client.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs index 1894dc5b..c901ad33 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(); |