minor: add floor/ceil snippets

This commit is contained in:
arne314
2024-12-28 15:04:24 +01:00
parent ca69464e5a
commit 566fd27749

View File

@@ -32,6 +32,8 @@ local operations = { -- first boolean: existing brack
{ 'nr', 'norm', '', true, true },
{ 'vv', 'vec', '', true, true },
{ 'rt', 'sqrt', '', true, true },
{ 'flo', 'floor', '', true, true },
{ 'cei', 'ceil', '', true, true },
}
local ts_wrap_query = ts.query.parse('typst', '[(call) (ident) (letter) (number)] @wrap')