From 89de725101600e49c8cfdbcd32313f16577fb864 Mon Sep 17 00:00:00 2001 From: arne314 <73391160+arne314@users.noreply.github.com> Date: Mon, 10 Feb 2025 12:23:01 +0100 Subject: [PATCH] minor(snip): use `dif` in dx/ddx --- lua/typstar/snippets/math.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/typstar/snippets/math.lua b/lua/typstar/snippets/math.lua index ae28c01..4da1b59 100644 --- a/lua/typstar/snippets/math.lua +++ b/lua/typstar/snippets/math.lua @@ -75,8 +75,8 @@ return { snip('cc', 'cases(\n\t<>\n)\\', { i(1, '1') }, math), snip('(K|M|N|Q|R|S|Z)([\\dn]) ', '<><>^<> ', { cap(1), cap(1), cap(2) }, math), - snip('dx', 'd / (d <>) ', { i(1, 'x') }, math, 900), - snip('ddx', '(d <>) / (d <>) ', { i(1, 'f'), i(2, 'x') }, math), + snip('dx', 'dif / (dif <>) ', { i(1, 'x') }, math, 900), + snip('ddx', '(dif <>) / (dif <>) ', { i(1, 'f'), i(2, 'x') }, math), snip('it', 'integral ', {}, math, 900), snip('int', 'integral_(<>)^(<>) ', { i(1, 'a'), i(2, 'b') }, math), snip('oit', 'integral_Omega ', {}, math),