fix(ci): formatting

This commit is contained in:
Barrett Ruth 2025-09-15 12:59:10 -04:00
parent 8bf52f601c
commit d5395b20ab
3 changed files with 9 additions and 3 deletions

View file

@ -117,7 +117,14 @@ local function setup_problem(contest_id, problem_id, language)
vim.cmd.startinsert({ bang = true })
vim.schedule(function()
print("Debug: platform=" .. state.platform .. ", filetype=" .. vim.bo.filetype .. ", expandable=" .. tostring(luasnip.expandable()))
print(
"Debug: platform="
.. state.platform
.. ", filetype="
.. vim.bo.filetype
.. ", expandable="
.. tostring(luasnip.expandable())
)
if luasnip.expandable() then
luasnip.expand()
end

View file

@ -19,4 +19,4 @@ M.canonical_filetypes = {
[M.PYTHON] = "python",
}
return M
return M

View file

@ -100,7 +100,6 @@ if __name__ == "__main__":
},
}
for language, template_set in pairs(template_definitions) do
local snippets = {}
local filetype = languages.canonical_filetypes[language]