From a0fff8846f6f4e0aab158bdcda2e7e5e17539617 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Fri, 2 Jun 2023 19:28:29 -0400 Subject: [PATCH] nvim: add proj template --- src/.config/nvim/ultisnips/typst.snippets | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/.config/nvim/ultisnips/typst.snippets b/src/.config/nvim/ultisnips/typst.snippets index b17dd30..8a0738a 100644 --- a/src/.config/nvim/ultisnips/typst.snippets +++ b/src/.config/nvim/ultisnips/typst.snippets @@ -33,6 +33,14 @@ snippet math_prob "template for math problems" bi endsnippet +snippet proj "template for project documents" bi +#import "../../templates/proj.typ": template +#show: template.with( + title: "$1", +) + +endsnippet + snippet ss "superscript" i ^$1 endsnippet