fix(ci): formatting
This commit is contained in:
parent
8bf52f601c
commit
d5395b20ab
3 changed files with 9 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -19,4 +19,4 @@ M.canonical_filetypes = {
|
|||
[M.PYTHON] = "python",
|
||||
}
|
||||
|
||||
return M
|
||||
return M
|
||||
|
|
|
|||
|
|
@ -100,7 +100,6 @@ if __name__ == "__main__":
|
|||
},
|
||||
}
|
||||
|
||||
|
||||
for language, template_set in pairs(template_definitions) do
|
||||
local snippets = {}
|
||||
local filetype = languages.canonical_filetypes[language]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue