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:
Max Brunsfeld 2022-10-12 15:48:19 -07:00
parent fedec68d39
commit 6cdf4e98fc
43 changed files with 51 additions and 102 deletions

View file

@ -25,7 +25,7 @@ use gpui::{
};
use language::{
range_to_lsp, tree_sitter_rust, Diagnostic, DiagnosticEntry, FakeLspAdapter, Language,
LanguageConfig, LanguageRegistry, OffsetRangeExt, Rope,
LanguageConfig, LanguageRegistry, OffsetRangeExt, Rope, Point,
};
use lsp::{self, FakeLanguageServer};
use parking_lot::Mutex;
@ -34,7 +34,6 @@ use project::{
ProjectStore, WorktreeId,
};
use rand::prelude::*;
use rope::point::Point;
use rpc::PeerId;
use serde_json::json;
use settings::{Formatter, Settings};