diff --git a/UltiSnips/c.snippets b/UltiSnips/c.snippets index defea99..7dd7cb9 100644 --- a/UltiSnips/c.snippets +++ b/UltiSnips/c.snippets @@ -49,10 +49,6 @@ for (${4:int} ${2:i} = 0; $2 < ${1:count}; ${3:++$2}) { } endsnippet -snippet enum "Enumeration" -enum ${1:name} { $0 }; -endsnippet - snippet once "Include header once only guard" #ifndef ${1:`!p if not snip.c: @@ -73,12 +69,6 @@ snippet td "Typedef" typedef ${1:int} ${2:MyCustomType}; endsnippet -snippet wh "while loop" -while(${1:/* condition */}) { - ${VISUAL}${0} -} -endsnippet - snippet do "do...while loop (do)" do { ${VISUAL}${0} diff --git a/snippets/c.snippets b/snippets/c.snippets index c1d95aa..6a1cbaa 100644 --- a/snippets/c.snippets +++ b/snippets/c.snippets @@ -148,6 +148,9 @@ snippet tds typedef struct ${2:_$1 }{ ${3:/* data */} } ${1:`vim_snippets#Filename('$1_t', 'name')`}; + +snippet enum + enum ${1:name} { ${0} }; # typedef enum snippet tde typedef enum {