This commit is contained in:
Barrett Ruth 2025-10-24 16:12:53 -04:00
parent de45fd3393
commit 11b6056d8c
3 changed files with 8 additions and 3 deletions

View file

@ -244,6 +244,7 @@ function M.setup_problem(problem_id, language)
if vim.api.nvim_buf_is_valid(prov.bufnr) then
vim.api.nvim_buf_set_name(prov.bufnr, source_file)
vim.bo[prov.bufnr].swapfile = true
-- selene: allow(mixed_table)
vim.cmd.write({
vim.fn.fnameescape(source_file),
bang = true,