From 6a9e5cccb79c9da8ea4319df431c7de064043ee7 Mon Sep 17 00:00:00 2001 From: arne314 <73391160+arne314@users.noreply.github.com> Date: Wed, 27 Aug 2025 17:38:14 +0200 Subject: [PATCH] feat(snip): add product snippets --- lua/typstar/snippets/math.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/typstar/snippets/math.lua b/lua/typstar/snippets/math.lua index 5799f07..ac4d817 100644 --- a/lua/typstar/snippets/math.lua +++ b/lua/typstar/snippets/math.lua @@ -94,6 +94,9 @@ return { snip('osm', 'sum_Omega ', {}, math), snip('dsm', 'sum_(<>) ', { i(1, 'I') }, math), + snip('prd', 'product ', {}, math), + snip('prod', 'product_(<>)^(<>) ', { i(1, 'k=1'), i(2, 'n') }, math), + snip('lm', 'lim ', {}, math), snip('lim', 'lim_(<> ->> <>) ', { i(1, 'n'), i(2, 'oo') }, math), snip('lim (sup|inf)', 'lim<> ', { cap(1) }, math),