2012-02-02 04:33:35 +00:00
|
|
|
include c.snip
|
|
|
|
|
|
|
|
# Delete snippet depended on C.
|
|
|
|
delete struct
|
|
|
|
delete struct_typedef
|
|
|
|
delete enum
|
|
|
|
delete main
|
|
|
|
delete inc
|
|
|
|
delete inc2
|
|
|
|
delete Inc
|
|
|
|
delete Def
|
|
|
|
delete def
|
|
|
|
delete once
|
|
|
|
delete printf
|
|
|
|
delete fprintf
|
|
|
|
|
|
|
|
snippet foreach
|
|
|
|
abbr foreach() {}
|
2012-10-30 08:53:14 +00:00
|
|
|
foreach (${1:#:var}; ${2:#:list}) {
|
|
|
|
${3:TARGET}
|
2012-02-02 04:33:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
snippet class
|
|
|
|
abbr class {}
|
2012-10-30 08:53:14 +00:00
|
|
|
class ${1:#:name} {
|
|
|
|
${2:TARGET}
|
2012-02-02 04:33:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
snippet struct
|
|
|
|
abbr struct {}
|
2012-10-30 08:53:14 +00:00
|
|
|
struct ${1:#:name} {
|
|
|
|
${2:TARGET}
|
2012-02-02 04:33:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
snippet enum
|
|
|
|
abbr enum {}
|
2012-10-30 08:53:14 +00:00
|
|
|
enum ${1:#:name} {
|
|
|
|
${2:TARGET}
|
2012-02-02 04:33:35 +00:00
|
|
|
}
|
2012-10-30 08:53:14 +00:00
|
|
|
|