From 403308324cec71dc8e1103d5250096774be5c881 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Mon, 15 Sep 2025 22:44:28 -0400 Subject: [PATCH] fix: remove unused --- lua/cp/init.lua | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lua/cp/init.lua b/lua/cp/init.lua index 9c9a764..23b0fdb 100644 --- a/lua/cp/init.lua +++ b/lua/cp/init.lua @@ -243,20 +243,6 @@ local function toggle_test_panel() vim.bo.filetype = "cptest" vim.bo.bufhidden = "wipe" - local function navigate_test(delta) - logger.log(("navigating test by %d"):format(delta)) - local test_state = test_module.get_test_panel_state() - local new_index = test_state.current_index + delta - logger.log( - ("current: %d, new: %d, total: %d"):format(test_state.current_index, new_index, #test_state.test_cases) - ) - if new_index >= 1 and new_index <= #test_state.test_cases then - test_state.current_index = new_index - toggle_test_panel() - toggle_test_panel() - end - end - local function refresh_test_panel() if not test_buf or not vim.api.nvim_buf_is_valid(test_buf) then return