diff --git a/UltiSnips/c.snippets b/UltiSnips/c.snippets new file mode 100644 index 0000000..82f1274 --- /dev/null +++ b/UltiSnips/c.snippets @@ -0,0 +1,13 @@ +snippet if "if" +if (${1:/* condition */}) { + ${VISUAL}${0} +} +endsnippet + +snippet ife "if .. else" +if (${1:/* condition */}) { + ${2} +} else { + ${3:/* else */} +} +endsnippet