mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-07 04:47:45 +03:00
Merge branch 'master' into debug
This commit is contained in:
commit
f2b709a3c3
112 changed files with 2894 additions and 1188 deletions
|
@ -35,6 +35,7 @@ pub fn find_first_non_whitespace_char(line: RopeSlice) -> Option<usize> {
|
|||
line.chars().position(|ch| !ch.is_whitespace())
|
||||
}
|
||||
|
||||
/// Find `.git` root.
|
||||
pub fn find_root(root: Option<&str>) -> Option<std::path::PathBuf> {
|
||||
let current_dir = std::env::current_dir().expect("unable to determine current directory");
|
||||
|
||||
|
@ -193,7 +194,7 @@ pub use tendril::StrTendril as Tendril;
|
|||
pub use {regex, tree_sitter};
|
||||
|
||||
pub use graphemes::RopeGraphemes;
|
||||
pub use position::{coords_at_pos, pos_at_coords, Position};
|
||||
pub use position::{coords_at_pos, pos_at_coords, visual_coords_at_pos, Position};
|
||||
pub use selection::{Range, Selection};
|
||||
pub use smallvec::{smallvec, SmallVec};
|
||||
pub use syntax::Syntax;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue