Add osh.h snippet
This commit is contained in:
parent
a81780b069
commit
44a74d472e
1 changed files with 13 additions and 0 deletions
|
@ -23,6 +23,19 @@ int main() {
|
||||||
}
|
}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet oshh
|
||||||
|
#define OSH_H_IMPLEMENTATION
|
||||||
|
#include "osh.h"
|
||||||
|
|
||||||
|
using namespace osh;
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
println("Hello, World!");
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet fori
|
snippet fori
|
||||||
for (int $1 = $2; $1 < $3; $1++) {
|
for (int $1 = $2; $1 < $3; $1++) {
|
||||||
$0
|
$0
|
||||||
|
|
Loading…
Add table
Reference in a new issue