Re-export basic text types from text and language crates
Also avoid production dependencies on fs and rope in collab
This commit is contained in:
parent
fedec68d39
commit
6cdf4e98fc
43 changed files with 51 additions and 102 deletions
|
@ -17,7 +17,6 @@ use fs::LineEnding;
|
|||
use futures::FutureExt as _;
|
||||
use gpui::{fonts::HighlightStyle, AppContext, Entity, ModelContext, MutableAppContext, Task};
|
||||
use parking_lot::Mutex;
|
||||
use rope::point::Point;
|
||||
use settings::Settings;
|
||||
use similar::{ChangeTag, TextDiff};
|
||||
use smol::future::yield_now;
|
||||
|
@ -283,7 +282,7 @@ struct BufferChunkHighlights<'a> {
|
|||
|
||||
pub struct BufferChunks<'a> {
|
||||
range: Range<usize>,
|
||||
chunks: rope::Chunks<'a>,
|
||||
chunks: text::Chunks<'a>,
|
||||
diagnostic_endpoints: Peekable<vec::IntoIter<DiagnosticEndpoint>>,
|
||||
error_depth: usize,
|
||||
warning_depth: usize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue