diff --git a/.config/nvim/lua/plugin/luasnip.lua b/.config/nvim/lua/plugin/luasnip.lua index 9531bf0..736acdc 100644 --- a/.config/nvim/lua/plugin/luasnip.lua +++ b/.config/nvim/lua/plugin/luasnip.lua @@ -433,7 +433,7 @@ ls.snippets = { i(1), t({ "" }), d(2, rec_ls, {}), - t({ "", "\\end{itemize}" }), + t({ "", "\\end{itemize}", "" }), }), s("frm", { t({ "\\begin{" }), @@ -448,14 +448,16 @@ ls.snippets = { i(0), t({ "", "\\end{" }), f(copy, 1), - t({ "}" }), + t({ "}", "" }), }), - s("rmk", { - t({ "\\begin{rmk}" }), - t({ "", "\t" }), - i(1), + s("env", { + t({ "\\begin{" }), + i(1, "foo"), + t({ "}", "\t" }), + i(2), t({ "", "\\end{" }), - i(0), + f(copy,1), + t({ "}", "" }), }), },