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.cmd.startinsert({ bang = true })
|
||||||
|
|
||||||
vim.schedule(function()
|
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
|
if luasnip.expandable() then
|
||||||
luasnip.expand()
|
luasnip.expand()
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,6 @@ if __name__ == "__main__":
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
for language, template_set in pairs(template_definitions) do
|
for language, template_set in pairs(template_definitions) do
|
||||||
local snippets = {}
|
local snippets = {}
|
||||||
local filetype = languages.canonical_filetypes[language]
|
local filetype = languages.canonical_filetypes[language]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue