From d5395b20ab83d18f5aabb763fa7da495725bfab0 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Mon, 15 Sep 2025 12:59:10 -0400 Subject: [PATCH] fix(ci): formatting --- lua/cp/init.lua | 9 ++++++++- lua/cp/languages.lua | 2 +- lua/cp/snippets.lua | 1 - 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lua/cp/init.lua b/lua/cp/init.lua index d136dd3..72d0213 100644 --- a/lua/cp/init.lua +++ b/lua/cp/init.lua @@ -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 diff --git a/lua/cp/languages.lua b/lua/cp/languages.lua index c319cc3..6884287 100644 --- a/lua/cp/languages.lua +++ b/lua/cp/languages.lua @@ -19,4 +19,4 @@ M.canonical_filetypes = { [M.PYTHON] = "python", } -return M \ No newline at end of file +return M diff --git a/lua/cp/snippets.lua b/lua/cp/snippets.lua index 61d05e5..4906faa 100644 --- a/lua/cp/snippets.lua +++ b/lua/cp/snippets.lua @@ -100,7 +100,6 @@ if __name__ == "__main__": }, } - for language, template_set in pairs(template_definitions) do local snippets = {} local filetype = languages.canonical_filetypes[language]