diff --git a/lua/typstar/snippets/math.lua b/lua/typstar/snippets/math.lua index 9473880..b661467 100644 --- a/lua/typstar/snippets/math.lua +++ b/lua/typstar/snippets/math.lua @@ -74,7 +74,11 @@ return { snip('it', 'integral_(<>)^(<>)', { i(1, 'a'), i(2, 'b') }, math), snip('oit', 'integral_(Omega}', {}, math), snip('dit', 'integral_{<>}', { i(1, 'Omega') }, math), - snip('sm', 'sum_(<>)^(<>)', { i(1, 'i=0'), i(2, 'oo') }, math), + + snip('sm', 'sum ', {}, math), + snip('sum', 'sum_(<>)^(<>)', { i(1, 'i=0'), i(2, 'oo') }, math), + snip('osm', 'sum_Omega', {}, math), + snip('dsm', 'sum_(<>)', { i(1, 'I') }, math), snip('lm', 'lim <>', { i(1, 'a_n') }, math), snip('lim', 'lim_(<> ->> <>) <>', { i(1, 'n'), i(2, 'oo'), i(3, 'a_n') }, math),