diff --git a/luasnippets/tex.lua b/luasnippets/tex.lua index 5efd715..930876f 100644 --- a/luasnippets/tex.lua +++ b/luasnippets/tex.lua @@ -23,4 +23,18 @@ return { } ) ), + + s({ trig = "block", dscr = "A beamer block" }, + fmta( + [[ + \begin{block}{<>} + <> + \end{block} + ]], + { + i(1, "title"), + i(2, "content") + } + ) + ), }