From cca868ec5c2e91e064882e3c9f38f07e8ccfcce9 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 19 Jan 2025 17:49:22 -0800 Subject: [PATCH] Cleanup --- lua/argonaut/param.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/argonaut/param.lua b/lua/argonaut/param.lua index 16b05a9..0e4c852 100644 --- a/lua/argonaut/param.lua +++ b/lua/argonaut/param.lua @@ -262,8 +262,8 @@ function Param:select(inner) start_cursor = self.cells[start_index]:get_start_cursor() stop_cursor = self.cells[stop_index]:get_stop_cursor() else - start_cursor = self.cells[1]:get_start_cursor() - stop_cursor = self.cells[#self.cells]:get_stop_cursor() + start_cursor = self.range.start_cursor:get_next() + stop_cursor = self.range.stop_cursor:get_previous() local previous_param = self:get_previous() if previous_param then