From 5f28d35b0d9e75910a6809ca7f9de3cf99f6f548 Mon Sep 17 00:00:00 2001 From: arne314 <73391160+arne314@users.noreply.github.com> Date: Mon, 2 Dec 2024 22:17:52 +0100 Subject: [PATCH] minor: more snippets --- lua/typstar/snippets/math.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/typstar/snippets/math.lua b/lua/typstar/snippets/math.lua index 050f7e2..7c475db 100644 --- a/lua/typstar/snippets/math.lua +++ b/lua/typstar/snippets/math.lua @@ -71,6 +71,11 @@ return { snip('oit', 'integral_(Omega}', {}, math), snip('dit', 'integral_{<>}', { i(1, 'Omega') }, math), snip('sm', 'sum_(<>)^(<>)', { i(1, 'i=0'), i(2, 'oo') }, math), + snip('lm', 'lim <>', { i(1, 'a_n') }, math), snip('lim', 'lim_(<> ->> <>) <>', { i(1, 'n'), i(2, 'oo'), i(3, 'a_n') }, math), + snip('lim sup', 'limsup <>', { i(1, 'a_n') }, math), + snip('lim(_.*%-.*) sup', 'limsup<> <>', { cap(1), i(1, 'a_n') }, math), + snip('lim inf', 'liminf <>', { i(1, 'a_n') }, math), + snip('lim(_.*%-.*) inf', 'liminf<> <>', { cap(1), i(1, 'a_n') }, math), }