Skip to content

Commit 9805ec0

Browse files
committed
typo
1 parent 1b93b62 commit 9805ec0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zed_edit.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ let default_match_word =
103103
| `Boundary | `End -> Some pos
104104
| `Uchar char->
105105
let pos=
106-
(* combining characters do not step forward postion *)
106+
(* combining characters do not step forward position *)
107107
if Zed_char.is_printable_core char then pos+1
108108
else pos
109109
in
@@ -641,7 +641,7 @@ let search_word_backward ctx =
641641
match ctx.edit.match_word ctx.edit.text idx with
642642
| Some idx' ->
643643
(* the match_word method now uses unicode segmentation algorithm,
644-
so the tail postion should be traced *)
644+
so the tail position should be traced *)
645645
let (_, r_end)= result in
646646
if idx' = r_end then
647647
loop2 (idx - 1) (idx, idx')

0 commit comments

Comments
 (0)