try to fix snippets
This commit is contained in:
parent
20b058f034
commit
35008bea32
4 changed files with 100 additions and 5 deletions
|
|
@ -117,6 +117,7 @@ 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()))
|
||||
if luasnip.expandable() then
|
||||
luasnip.expand()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue