summaryrefslogtreecommitdiff
path: root/helix-core/src/lib.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-06-18 08:47:10 +0000
committerBlaž Hrastnik2021-06-20 07:38:58 +0000
commite9a3245aae0e4380201cffcff7ebe06c129823c5 (patch)
tree1ec532455ab854ce52e674b2568efd77be9c6ccf /helix-core/src/lib.rs
parent9275021497fc13938317b681319ba571c8d5f478 (diff)
Re-export unicode crates from helix_core
Diffstat (limited to 'helix-core/src/lib.rs')
-rw-r--r--helix-core/src/lib.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/helix-core/src/lib.rs b/helix-core/src/lib.rs
index d669fa49..4a9ac891 100644
--- a/helix-core/src/lib.rs
+++ b/helix-core/src/lib.rs
@@ -18,6 +18,12 @@ mod state;
pub mod syntax;
mod transaction;
+pub mod unicode {
+ pub use unicode_general_category as category;
+ pub use unicode_segmentation as segmentation;
+ pub use unicode_width as width;
+}
+
static RUNTIME_DIR: once_cell::sync::Lazy<std::path::PathBuf> =
once_cell::sync::Lazy::new(runtime_dir);
@@ -97,8 +103,6 @@ pub use ropey::{Rope, RopeSlice};
pub use tendril::StrTendril as Tendril;
-pub use unicode_general_category::get_general_category;
-
#[doc(inline)]
pub use {regex, tree_sitter};