fix: panel
This commit is contained in:
parent
a2a3c8f365
commit
ebf4856a3e
1 changed files with 0 additions and 8 deletions
|
|
@ -41,14 +41,6 @@ function M.toggle_run_panel(is_debug)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if not state.get_contest_id() then
|
|
||||||
logger.log(
|
|
||||||
'No contest configured. Use :CP <platform> <contest> <problem> to set up first.',
|
|
||||||
vim.log.levels.ERROR
|
|
||||||
)
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
local problem_id = get_current_problem()
|
local problem_id = get_current_problem()
|
||||||
if not problem_id then
|
if not problem_id then
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue