ci: format

This commit is contained in:
Barrett Ruth 2026-03-07 16:29:07 -05:00
parent 86b20aaee5
commit c7b469e2ce
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
2 changed files with 4 additions and 1 deletions

View file

@ -330,7 +330,9 @@ function M.setup_problem(problem_id, language)
local _abs_sf = vim.fn.fnamemodify(source_file, ':p')
if vim.uv.fs_stat(_abs_sf) and vim.fn.bufnr(_abs_sf) == -1 then
local ans = vim.fn.input(('File %q already exists. Overwrite? [y/N]: '):format(vim.fn.fnamemodify(source_file, ':~:.')))
local ans = vim.fn.input(
('File %q already exists. Overwrite? [y/N]: '):format(vim.fn.fnamemodify(source_file, ':~:.'))
)
vim.cmd.redraw()
if ans:lower() ~= 'y' then
local prov0 = state.get_provisional()