diff --git a/crates/fs/src/fs.rs b/crates/fs/src/fs.rs index 00dd220fbaa16f82251150e1b8eb6470e4c4fee3..2380049da70849b8abf50ef030f48b1714c0a271 100644 --- a/crates/fs/src/fs.rs +++ b/crates/fs/src/fs.rs @@ -7,8 +7,8 @@ pub mod fs_watcher; use anyhow::{Context as _, Result, anyhow}; #[cfg(any(target_os = "linux", target_os = "freebsd"))] use ashpd::desktop::trash; -use futures::stream::iter; use encodings::Encoding; +use futures::stream::iter; use gpui::App; use gpui::BackgroundExecutor; use gpui::Global; diff --git a/crates/project/src/buffer_store.rs b/crates/project/src/buffer_store.rs index 21ad263511d078f900922c347fa35b443826e0ab..bd82f3949b94042a9c87b868bb42ee56edb11844 100644 --- a/crates/project/src/buffer_store.rs +++ b/crates/project/src/buffer_store.rs @@ -8,6 +8,8 @@ use anyhow::{Context as _, Result, anyhow}; use client::Client; use collections::{HashMap, HashSet, hash_map}; use encodings::Encoding; +use fs::Fs; +use futures::StreamExt; use futures::{Future, FutureExt as _, channel::oneshot, future::Shared}; use gpui::{ App, AppContext as _, AsyncApp, Context, Entity, EventEmitter, Subscription, Task, WeakEntity, @@ -1189,7 +1191,7 @@ impl BufferStore { let buffers = this.update(cx, |this, cx| { project_paths .into_iter() - .map(|project_path| this.open_buffer(project_path, None, cx)) + .map(|project_path| this.open_buffer(project_path, None, false, true, cx)) .collect::>() })?; for buffer_task in buffers { diff --git a/crates/project/src/lsp_store.rs b/crates/project/src/lsp_store.rs index 4c70c999b7bfed857f74ce5964902f3765ee5c76..446251678365f955381fb74f168b47e69d19194d 100644 --- a/crates/project/src/lsp_store.rs +++ b/crates/project/src/lsp_store.rs @@ -8336,7 +8336,7 @@ impl LspStore { lsp_store .update(cx, |lsp_store, cx| { lsp_store.buffer_store().update(cx, |buffer_store, cx| { - buffer_store.open_buffer(project_path, None, false, true,cx) + buffer_store.open_buffer(project_path, None, false, true, cx) }) })? .await