nvim: misc typst snippet changes

This commit is contained in:
dogeystamp 2024-05-27 19:34:13 -04:00
parent e9a1313914
commit 9c90ea96c6
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -34,6 +34,31 @@ return {
i(2),
})),
s({
trig = "qty",
name = "quantity + unit",
wordTrig = false
},
fmt(
[[#qty("{}", "{}")]],
{
i(1, "numb"),
i(2, "unit")
})),
s({
trig = "pq",
name = "percentage error quantity",
wordTrig = false
},
fmt(
[[#pq("{}", "{}", "{}")]],
{
i(1, "numb"),
i(2, "unit"),
i(3, "percentage error"),
})),
--------------------------------
--------------------------------
-- figures