C: Add return, dedupe ultisnips

This commit is contained in:
Louis Pilfold 2015-09-11 08:57:03 +01:00
parent 42f55e2690
commit bd213c19ce
2 changed files with 2 additions and 8 deletions

View File

@ -20,14 +20,6 @@ ${VISUAL}${0}
#endif #endif
endsnippet endsnippet
snippet inc "#include local header (inc)"
#include "${1:`!p snip.rv = snip.basename + '.h'`}"
endsnippet
snippet Inc "#include <> (Inc)"
#include <${1:.h}>
endsnippet
snippet mark "#pragma mark (mark)" snippet mark "#pragma mark (mark)"
#if 0 #if 0
${1:#pragma mark - ${1:#pragma mark -

View File

@ -98,6 +98,8 @@ snippet case
case ${1:/* variable case */}: case ${1:/* variable case */}:
${2} ${2}
${3:break;} ${3:break;}
snippet ret
return ${0};
## ##
## Loops ## Loops
# for # for