This commit is contained in:
Zelong Kuang
2025-09-30 22:59:47 +10:00
parent 46c470d1f7
commit b5303f2cdd
28 changed files with 279 additions and 1689 deletions

View File

@@ -176,24 +176,6 @@ return {
}),
{ condition = tex.in_mathzone }
),
s(
{ trig = "(\\%a+)~", wordTrig = false, regTrig = true, snippetType = "autosnippet" },
fmta("\\tilde{<>}", {
f(function(_, snip)
return snip.captures[1]
end),
}),
{ condition = tex.in_mathzone }
),
s(
{ trig = "(%a)~", wordTrig = false, regTrig = true, snippetType = "autosnippet" },
fmta("\\tilde{<>}", {
f(function(_, snip)
return snip.captures[1]
end),
}),
{ condition = tex.in_mathzone }
),
s(
{ trig = "dot", snippetType = "autosnippet", priority = 2000 },
fmta("\\dot{<>}", {