mirror of
https://github.com/Ascyii/typstar.git
synced 2026-01-01 05:24:24 -05:00
perf: use treesitter to detect math/markup
This commit is contained in:
@@ -63,6 +63,7 @@ return {
|
||||
snip('rrn', 'RR^n ', {}, math),
|
||||
snip('cc', 'cases(\n\t<>\n)\\', { i(1, '1') }, math),
|
||||
snip('pi', 'pi ', {}, math),
|
||||
snip('in', 'in ', {}, math),
|
||||
snip('(.*)iv', '<>^(-1)', { cap(1) }, math),
|
||||
snip('(.*)sr', '<>^(2)', { cap(1) }, math),
|
||||
snip('(.*)rd', '<>^(<>)', { cap(1), i(1, 'n') }, math),
|
||||
|
||||
Reference in New Issue
Block a user