From 0be68c3f98109a28cad83feebfc24c0abc50f9f2 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 7eb9ba6..de7241a 100644 --- a/_config/nvim/UltiSnips/cpp.snippets +++ b/_config/nvim/UltiSnips/cpp.snippets @@ -30,6 +30,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