aboutsummaryrefslogtreecommitdiffstats
path: root/snippets/c-mode
diff options
context:
space:
mode:
authorverdant <im@verdant.ee>2026-05-27 21:49:59 +0800
committerverdant <im@verdant.ee>2026-05-27 21:49:59 +0800
commit9c9d3c29acc26c69458c2f64eead62418fedf8d6 (patch)
tree0992a915a30b779e3d06219fd17be9963c9d944b /snippets/c-mode
parent0971bc93a372a7f06e9284f1427a058e2d3fdf58 (diff)
downloadvemacs-main.tar.gz
vemacs-main.zip
Add snippet templatesmain
- c-mode: main function - prog-common: My email, My name, My email and name Templates which is in the directory prog-common will be shared
Diffstat (limited to 'snippets/c-mode')
-rw-r--r--snippets/c-mode/main11
-rw-r--r--snippets/c-mode/main~11
2 files changed, 22 insertions, 0 deletions
diff --git a/snippets/c-mode/main b/snippets/c-mode/main
new file mode 100644
index 0000000..4ef3d2a
--- /dev/null
+++ b/snippets/c-mode/main
@@ -0,0 +1,11 @@
+# -*- mode: snippet -*-
+# name: main
+# key: main
+# --
+
+#include <stdio.h>
+
+int main(int arc, char** argv)
+{
+ return 0;
+} \ No newline at end of file
diff --git a/snippets/c-mode/main~ b/snippets/c-mode/main~
new file mode 100644
index 0000000..3821a77
--- /dev/null
+++ b/snippets/c-mode/main~
@@ -0,0 +1,11 @@
+# -*- mode: snippet -*-
+# name: main
+# key: main
+# --
+
+\#include <stdio.h>
+
+int main(int arc, char** argv)
+{
+ return 0;
+} \ No newline at end of file