nvim: misc typst snippet changes
This commit is contained in:
parent
e9a1313914
commit
9c90ea96c6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user