From 740849eb672d7a501e6187cbcc6a2e7439a703db Mon Sep 17 00:00:00 2001 From: arne314 <73391160+arne314@users.noreply.github.com> Date: Wed, 27 Aug 2025 17:48:41 +0200 Subject: [PATCH] minor(snip): update sum and integral snippets --- lua/typstar/snippets/math.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/typstar/snippets/math.lua b/lua/typstar/snippets/math.lua index ac4d817..542f0c3 100644 --- a/lua/typstar/snippets/math.lua +++ b/lua/typstar/snippets/math.lua @@ -84,15 +84,15 @@ return { snip('DX', 'diff / (diff <>) ', { i(1, 'x') }, math, 900), snip('DDX', '(diff <>) / (diff <>) ', { i(1, 'f'), i(2, 'x') }, math), snip('part', 'partial ', {}, math, 1600), + snip('it', 'integral ', {}, math, 900), snip('int', 'integral_(<>)^(<>) ', { i(1, 'a'), i(2, 'b') }, math), - snip('oit', 'integral_Omega ', {}, math), + snip('oit', 'integral.cont_(<>) ', { i(1, 'C') }, math), snip('dit', 'integral_(<>) ', { i(1, 'Omega') }, math), snip('sm', 'sum ', {}, math, 900), - snip('sum', 'sum_(<>)^(<>) ', { i(1, 'i=0'), i(2, 'oo') }, math), - snip('osm', 'sum_Omega ', {}, math), - snip('dsm', 'sum_(<>) ', { i(1, 'I') }, math), + snip('sum', 'sum_(<>)^(<>) ', { i(1, 'k=1'), i(2, 'oo') }, math), + snip('dsm', 'sum_(<>) ', { i(1, 'Omega') }, math), snip('prd', 'product ', {}, math), snip('prod', 'product_(<>)^(<>) ', { i(1, 'k=1'), i(2, 'n') }, math),