This commit is contained in:
Zelong Kuang
2025-10-17 20:03:30 +11:00
parent 68da8f5a24
commit 8c11269da8
20 changed files with 131 additions and 211 deletions

View File

@@ -25,7 +25,7 @@ return {
$<>$
]],
{
i(1),
i(0),
}
),
{ condition = tex.in_text }
@@ -39,7 +39,7 @@ return {
$
]],
{
i(1),
i(0),
}
),
{ condition = tex.in_text }

View File

@@ -42,6 +42,13 @@ return {
}),
{ condition = tex.in_mathzone }
),
s(
{ trig = "norm", snippetType = "autosnippet" },
fmta("norm(<>)", {
i(1),
}),
{ condition = tex.in_mathzone }
),
s(
{ trig = "bar", snippetType = "autosnippet" },
fmta("overline(<>)", {

View File

@@ -123,7 +123,7 @@ return {
s({ trig = "subset=", wordTrig = false, snippetType = "autosnippet" }, {
t("subset.eq"),
}, { condition = tex.in_mathzone }),
s({ trig = "sup", wordTrig = false, snippetType = "autosnippet" }, {
s({ trig = "supp", wordTrig = false, snippetType = "autosnippet" }, {
t("supset"),
}, { condition = tex.in_mathzone }),
s({ trig = "supset=", wordTrig = false, snippetType = "autosnippet" }, {