aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/movement.rs
diff options
context:
space:
mode:
authorNathan Vegdahl2021-06-20 07:40:41 +0000
committerNathan Vegdahl2021-06-20 07:40:41 +0000
commit5d22e3c4e574eb24260966de7f20f582e6184e24 (patch)
tree7d5969855b6c98a66e8611b88f0b470ba9f5c18c /helix-core/src/movement.rs
parent8634e04a31f8f761b3d0505528295d31d63c7918 (diff)
Misc fixes and clean up of line ending detect code.
Diffstat (limited to 'helix-core/src/movement.rs')
-rw-r--r--helix-core/src/movement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-core/src/movement.rs b/helix-core/src/movement.rs
index a3cd9b96..7f47e662 100644
--- a/helix-core/src/movement.rs
+++ b/helix-core/src/movement.rs
@@ -3,9 +3,9 @@ use std::iter::{self, from_fn, Peekable, SkipWhile};
use ropey::iter::Chars;
use crate::{
- coords_at_pos,
+ coords_at_pos, get_line_ending,
graphemes::{nth_next_grapheme_boundary, nth_prev_grapheme_boundary},
- pos_at_coords, Position, Range, RopeSlice, get_line_ending, line_end
+ line_end, pos_at_coords, Position, Range, RopeSlice,
};
#[derive(Debug, Copy, Clone, PartialEq, Eq)]