diff --git a/crates/language/src/proto.rs b/crates/language/src/proto.rs index 6a259e0726..def2172319 100644 --- a/crates/language/src/proto.rs +++ b/crates/language/src/proto.rs @@ -280,7 +280,7 @@ pub fn deserialize_selection_set(set: proto::SelectionSet) -> SelectionSet { .into_iter() .map(|selection| { let range = (FullOffset(selection.start as usize), Bias::Left) - ..(FullOffset(selection.end as usize), Bias::Right); + ..(FullOffset(selection.end as usize), Bias::Left); let state = SelectionState { id: selection.id as usize, reversed: selection.reversed,