diff --git a/src/kakoune.rs b/src/kakoune.rs index 7a2b03c..c305337 100644 --- a/src/kakoune.rs +++ b/src/kakoune.rs @@ -49,8 +49,8 @@ pub fn ranges_to_selections_desc(buffer: &[String], ranges: &[Range]) -> String } format!( "{},{}", + point_to_kak_coords(buffer, Point::new(end_row, end_column)), point_to_kak_coords(buffer, range.start_point), - point_to_kak_coords(buffer, Point::new(end_row, end_column)) ) }) .join(" ")