diff --git a/src/.config/nvim/ultisnips/typst.snippets b/src/.config/nvim/ultisnips/typst.snippets index 078d57a..51c0a10 100644 --- a/src/.config/nvim/ultisnips/typst.snippets +++ b/src/.config/nvim/ultisnips/typst.snippets @@ -8,6 +8,14 @@ snippet problem "template for problem notes" bi endsnippet +snippet index "template for index documents" bi +#import "/templates/index.typ": template, lref +#show: template.with( + title: "$1", +) + +endsnippet + snippet sfd "template for lecture notes" bi #import "/templates/sfd.typ": template, lref #show: template.with(