mirror of https://github.com/helix-editor/helix
set working dir of the lsp command to workspace root (#13691)
parent
d375f1e7f4
commit
ca4ae7f287
|
@ -201,6 +201,7 @@ impl Client {
|
||||||
.stdin(Stdio::piped())
|
.stdin(Stdio::piped())
|
||||||
.stdout(Stdio::piped())
|
.stdout(Stdio::piped())
|
||||||
.stderr(Stdio::piped())
|
.stderr(Stdio::piped())
|
||||||
|
.current_dir(&root_path)
|
||||||
// make sure the process is reaped on drop
|
// make sure the process is reaped on drop
|
||||||
.kill_on_drop(true)
|
.kill_on_drop(true)
|
||||||
.spawn();
|
.spawn();
|
||||||
|
|
Loading…
Reference in New Issue