set working dir of the lsp command to workspace root (#13691)

This commit is contained in:
Skyler Hawthorne
2025-06-06 11:16:36 -04:00
committed by GitHub
parent d375f1e7f4
commit ca4ae7f287

View File

@@ -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();