From c9180e3fe9667856572c1f4e8c9cd9b969bf444f Mon Sep 17 00:00:00 2001 From: saruman9 Date: Sat, 10 Feb 2024 21:56:36 +0400 Subject: [PATCH] chore(vscode): add config files --- .vscode/settings.json | 10 ++++++++++ .vscode/slides.code-snippets | 22 ++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .vscode/settings.json create mode 100644 .vscode/slides.code-snippets diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..2e4585c --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,10 @@ +{ + "[typst]": { + "editor.wordWrap": "on", + "editor.semanticHighlighting.enabled": true, + "editor.autoClosingBrackets": "never", + }, + "cSpell.words": [ + "pdfpc" + ] +} diff --git a/.vscode/slides.code-snippets b/.vscode/slides.code-snippets new file mode 100644 index 0000000..269c1fa --- /dev/null +++ b/.vscode/slides.code-snippets @@ -0,0 +1,22 @@ +{ + "Print notes": { + "scope": "typst", + "prefix": "note", + "body": [ + "#pdfpc.speaker-note(", + " ```md", + " $1", + " ```", + ")", + ] + }, + "Slide horizon": { + "scope": "typst", + "prefix": "sh", + "body": [ + "#slideh[$1][", + " $2", + "]", + ] + } +}