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

pull/13648/head
Skyler Hawthorne 2025-06-06 11:16:36 -04:00 committed by GitHub
parent d375f1e7f4
commit ca4ae7f287
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

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