From 441e8406f01e9fa095f880137a0b47bec0416730 Mon Sep 17 00:00:00 2001 From: Oshgnacknak Date: Wed, 27 Apr 2022 19:11:47 +0200 Subject: [PATCH] Add osh.h snippet --- _config/nvim/UltiSnips/cpp.snippets | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/_config/nvim/UltiSnips/cpp.snippets b/_config/nvim/UltiSnips/cpp.snippets index 284500d..81d91b7 100644 --- a/_config/nvim/UltiSnips/cpp.snippets +++ b/_config/nvim/UltiSnips/cpp.snippets @@ -9,6 +9,19 @@ int main() { } endsnippet +snippet oshh +#define OSH_H_IMPLEMENTATION +#include "osh.h" + +using namespace osh; + +int main() { + println("Hello, World!"); + + return 0; +} +endsnippet + snippet fori for (int $1 = $2; $1 < $3; $1++) { $0