Add osh.h snippet
This commit is contained in:
parent
2129f56cbb
commit
441e8406f0
1 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue