diff --git a/conf.d/lvim/luasnippets/tex.lua b/conf.d/lvim/luasnippets/tex.lua index 2f51ffd..5e1c69d 100644 --- a/conf.d/lvim/luasnippets/tex.lua +++ b/conf.d/lvim/luasnippets/tex.lua @@ -127,6 +127,21 @@ return { -- -- environments -- + s({ trig = "table", dscr = "My LaTeX table environment" }, + fmta( + [[ + \begin{tabular}{c|c} + \hline + \rule[-1ex]{0pt}{2.5ex} <> & <> \\ + \hline + \end{tabular} + ]], + { + i(1), + i(2), + } + ) + ), s({ trig = "env", dscr = "A LaTeX empty environment" }, fmt( [[