diff options
author | mattn <mattn.jp@gmail.com> | 2011-10-28 09:42:05 +0900 |
---|---|---|
committer | mattn <mattn.jp@gmail.com> | 2011-10-28 09:42:05 +0900 |
commit | 50270c6dd21fb071fdb19e37f8dc95f4d6dff616 (patch) | |
tree | 72bd93193a30943fa6db98cd94f9be54c160a0b8 /template/c | |
parent | 6bf642f27e160a9218fc839c22627e4c515efa15 (diff) | |
download | vim-sonictemplate-50270c6dd21fb071fdb19e37f8dc95f4d6dff616.tar.gz vim-sonictemplate-50270c6dd21fb071fdb19e37f8dc95f4d6dff616.tar.bz2 vim-sonictemplate-50270c6dd21fb071fdb19e37f8dc95f4d6dff616.zip |
BIG CHANGE: changed directory structure.
Diffstat (limited to 'template/c')
-rw-r--r-- | template/c/base-main.c | 7 | ||||
-rw-r--r-- | template/c/snip-comment-block.c | 3 | ||||
-rw-r--r-- | template/c/snip-for.c | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/template/c/base-main.c b/template/c/base-main.c new file mode 100644 index 0000000..794d581 --- /dev/null +++ b/template/c/base-main.c @@ -0,0 +1,7 @@ +#include <stdio.h> + +int +main(int argc, char* argv[]) { + {{_cursor_}} + return 0; +} diff --git a/template/c/snip-comment-block.c b/template/c/snip-comment-block.c new file mode 100644 index 0000000..5d93c0d --- /dev/null +++ b/template/c/snip-comment-block.c @@ -0,0 +1,3 @@ +/** + * {{_cursor_}} + */ diff --git a/template/c/snip-for.c b/template/c/snip-for.c new file mode 100644 index 0000000..210541e --- /dev/null +++ b/template/c/snip-for.c @@ -0,0 +1,3 @@ +for (int n = 0; n < {{_input_:count}}; n++) { + {{_cursor_}} +} |