You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
349 B
Lua

---@diagnostic disable: undefined-global
return {
-- s("sniptest", {
-- t"hello snippet"
-- })
--
-- choice nodes
s("choice", fmt("{} my {}",{
c(2, {t("hello"), t("hi")}),
c(1, {t"bob", t"alice"})
})
),
-- function node
s("pwd", f(function()
return vim.fn.getcwd()
end))
}