C: Add return, dedupe ultisnips
This commit is contained in:
parent
42f55e2690
commit
bd213c19ce
@ -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 -
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user