From 9cc9351cae8096115d72ff17b354d8b5cdf50957 Mon Sep 17 00:00:00 2001 From: Lorenzo Ravaglia Date: Thu, 7 Sep 2023 20:01:25 +0200 Subject: [PATCH] feat(file-templates): add c-mode/__main.c Ref: #7387 --- .../editor/file-templates/templates/c-mode/__main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 modules/editor/file-templates/templates/c-mode/__main.c diff --git a/modules/editor/file-templates/templates/c-mode/__main.c b/modules/editor/file-templates/templates/c-mode/__main.c new file mode 100644 index 000000000..eb80db0f4 --- /dev/null +++ b/modules/editor/file-templates/templates/c-mode/__main.c @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# group: file templates +# contributor: Lorenzo Ravaglia +# -- +#include + +int main(int argc, char *argv[]) { + $0 + + return 0; +} \ No newline at end of file