crates/copilot/src/copilot.rs 🔗
@@ -429,11 +429,17 @@ impl Copilot {
env: None,
};
+ let root_path = if cfg!(target_os = "windows") {
+ Path::new("C:/")
+ } else {
+ Path::new("/")
+ };
+
let server = LanguageServer::new(
Arc::new(Mutex::new(None)),
new_server_id,
binary,
- Path::new("/"),
+ root_path,
None,
cx.clone(),
)?;