From 18f27afd23bc926dcc8a9ec30451a40e501015e0 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sun, 14 Sep 2025 01:46:54 -0500 Subject: [PATCH] fix(ci): format --- lua/cp/init.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lua/cp/init.lua b/lua/cp/init.lua index 4c7d0c2..b86dc98 100644 --- a/lua/cp/init.lua +++ b/lua/cp/init.lua @@ -139,7 +139,6 @@ local function get_current_problem() end local function run_problem() - local problem_id = get_current_problem() if not problem_id then return @@ -164,7 +163,6 @@ local function run_problem() end local function debug_problem() - local problem_id = get_current_problem() if not problem_id then return @@ -189,7 +187,6 @@ local function debug_problem() end local function diff_problem() - if state.diff_mode then local tile_fn = config.tile or window.default_tile window.restore_layout(state.saved_layout, tile_fn) @@ -223,7 +220,6 @@ end ---@param delta number 1 for next, -1 for prev local function navigate_problem(delta) - if not state.platform or not state.contest_id then logger.log("no contest set. run :CP first", vim.log.levels.ERROR) return @@ -404,7 +400,6 @@ function M.handle_command(opts) end end - function M.setup(opts) opts = opts or {} user_config = opts