diff --git a/UltiSnips/c.snippets b/UltiSnips/c.snippets index 5c4299c..defea99 100644 --- a/UltiSnips/c.snippets +++ b/UltiSnips/c.snippets @@ -20,14 +20,6 @@ ${VISUAL}${0} #endif 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)" #if 0 ${1:#pragma mark - diff --git a/snippets/c.snippets b/snippets/c.snippets index 42bad7d..c1d95aa 100644 --- a/snippets/c.snippets +++ b/snippets/c.snippets @@ -98,6 +98,8 @@ snippet case case ${1:/* variable case */}: ${2} ${3:break;} +snippet ret + return ${0}; ## ## Loops # for