From 44a74d472e978e05eee5b0e585eea1de77e02cc3 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 6f6261e..7da9c1f 100644 --- a/_config/nvim/UltiSnips/cpp.snippets +++ b/_config/nvim/UltiSnips/cpp.snippets @@ -23,6 +23,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