nvim: fix typst chem snippets

This commit is contained in:
dogeystamp 2023-08-28 19:30:21 -04:00
parent 94c8623995
commit 6ee93aa5d7
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -26,18 +26,18 @@ snippet sfd "template for lecture notes" bi
endsnippet
snippet chem "template for chemistry notes" bi
#import "/templates/chem.typ": template, lref
#import "/templates/chem.typ": template, lref, chem
#show: template.with(
title: "$1",
)
endsnippet
snippet chbl "chemistry math block" bi
#chem()[$
$1
$]
$0
snippet chi "chemistry math inline" w
#chem()[$$1$]
endsnippet
snippet chbl "chemistry math block" w
#chem(block: true)[$$1$]
endsnippet
snippet contest "template for contest problems" bi