fix(ci): format

This commit is contained in:
Barrett Ruth 2025-09-14 01:46:54 -05:00
parent 806d15fa31
commit 18f27afd23

View file

@ -139,7 +139,6 @@ local function get_current_problem()
end end
local function run_problem() local function run_problem()
local problem_id = get_current_problem() local problem_id = get_current_problem()
if not problem_id then if not problem_id then
return return
@ -164,7 +163,6 @@ local function run_problem()
end end
local function debug_problem() local function debug_problem()
local problem_id = get_current_problem() local problem_id = get_current_problem()
if not problem_id then if not problem_id then
return return
@ -189,7 +187,6 @@ local function debug_problem()
end end
local function diff_problem() local function diff_problem()
if state.diff_mode then if state.diff_mode then
local tile_fn = config.tile or window.default_tile local tile_fn = config.tile or window.default_tile
window.restore_layout(state.saved_layout, tile_fn) window.restore_layout(state.saved_layout, tile_fn)
@ -223,7 +220,6 @@ end
---@param delta number 1 for next, -1 for prev ---@param delta number 1 for next, -1 for prev
local function navigate_problem(delta) local function navigate_problem(delta)
if not state.platform or not state.contest_id then if not state.platform or not state.contest_id then
logger.log("no contest set. run :CP <platform> <contest> first", vim.log.levels.ERROR) logger.log("no contest set. run :CP <platform> <contest> first", vim.log.levels.ERROR)
return return
@ -404,7 +400,6 @@ function M.handle_command(opts)
end end
end end
function M.setup(opts) function M.setup(opts)
opts = opts or {} opts = opts or {}
user_config = opts user_config = opts