Add osh.h snippet
This commit is contained in:
parent
2997cba8ed
commit
0be68c3f98
1 changed files with 13 additions and 0 deletions
|
@ -30,6 +30,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