(Emacs/yasnippet)~fix parents

This commit is contained in:
2024-10-01 06:10:37 +01:00
parent f0fea2136a
commit 1bd01d419d
6 changed files with 2 additions and 27 deletions

View File

@@ -0,0 +1 @@
c++-mode cc-mode text-mode prog-mode

View File

@@ -1,6 +0,0 @@
# -*- mode: snippet -*-
# name: compile
# key: compile
# uuid: compile
# --
// -*- compile-command: "${1:gcc -Wall -o ${2:dest} ${3:file}}" -*-

View File

@@ -1,7 +0,0 @@
# -*- mode: snippet -*-
# name: malloc
# key: malloc
# uuid: malloc
# --
malloc(sizeof($1)${2: * ${3:0}});
$0

View File

@@ -1,6 +0,0 @@
# -*- mode: snippet -*-
# name: printf
# key: printf
# uuid: printf
# --
printf("${1:format}"${2:, $3});

View File

@@ -1,8 +0,0 @@
# -*- mode: snippet -*-
# name: union
# key: union
# uuid: union
# --
union ${1:name} {
$0
};

View File

@@ -0,0 +1 @@
c-mode cc-mode test-mode prog-mode