aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorNathan Vegdahl2021-07-29 02:20:23 +0000
committerNathan Vegdahl2021-07-29 02:20:23 +0000
commite4d41d06e3b52863d35ce3703f78cc8e0807c504 (patch)
tree7ab1496d1128e7a32458de42cd7b500875b42c1d /helix-term
parent285aba2de5af5d7a45b0640e7e09764b611f6a7b (diff)
Fix typo in comment.
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index baa3e897..dc28c098 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -646,7 +646,7 @@ where
let selection = doc.selection(view.id).clone().transform(|range| {
// TODO: use `Range::cursor()` here instead. However, that works in terms of
- // graphemes, wheras this function does yet. So we're doing the same logic
+ // graphemes, whereas this function doesn't yet. So we're doing the same logic
// here, but just in terms of chars instead.
let search_start_pos = if range.anchor < range.head {
range.head - 1