From fb4ddc72d5b0623f310efde59d4bf735b2d33461 Mon Sep 17 00:00:00 2001 From: "A. Torgovitsky" Date: Fri, 19 Dec 2025 16:48:01 -0600 Subject: [PATCH] fix: remove errant dots before \end{align*} The `ali` and `bigfun` snippets had an extra dot character before `\end{align*}`, causing the output to include a spurious period. --- lua/luasnip-latex-snippets/bwA.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/luasnip-latex-snippets/bwA.lua b/lua/luasnip-latex-snippets/bwA.lua index d30001f..62767a4 100644 --- a/lua/luasnip-latex-snippets/bwA.lua +++ b/lua/luasnip-latex-snippets/bwA.lua @@ -22,7 +22,7 @@ function M.retrieve(not_math) return { s( { trig = "ali", name = "Align" }, - { t({ "\\begin{align*}", "\t" }), i(1), t({ "", ".\\end{align*}" }) } + { t({ "\\begin{align*}", "\t" }), i(1), t({ "", "\\end{align*}" }) } ), parse_snippet({ trig = "beg", name = "begin{} / end{}" }, "\\begin{$1}\n\t$0\n\\end{$1}"), @@ -44,7 +44,7 @@ function M.retrieve(not_math) t(")"), t(" = "), i(0), - t({ "", ".\\end{align*}" }), + t({ "", "\\end{align*}" }), }), } end