(Emacs/yasnippet)~fix parents
This commit is contained in:
@@ -0,0 +1 @@
|
||||
c++-mode cc-mode text-mode prog-mode
|
||||
@@ -1,6 +0,0 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: compile
|
||||
# key: compile
|
||||
# uuid: compile
|
||||
# --
|
||||
// -*- compile-command: "${1:gcc -Wall -o ${2:dest} ${3:file}}" -*-
|
||||
@@ -1,7 +0,0 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: malloc
|
||||
# key: malloc
|
||||
# uuid: malloc
|
||||
# --
|
||||
malloc(sizeof($1)${2: * ${3:0}});
|
||||
$0
|
||||
@@ -1,6 +0,0 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: printf
|
||||
# key: printf
|
||||
# uuid: printf
|
||||
# --
|
||||
printf("${1:format}"${2:, $3});
|
||||
@@ -1,8 +0,0 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: union
|
||||
# key: union
|
||||
# uuid: union
|
||||
# --
|
||||
union ${1:name} {
|
||||
$0
|
||||
};
|
||||
@@ -0,0 +1 @@
|
||||
c-mode cc-mode test-mode prog-mode
|
||||
Reference in New Issue
Block a user