diff --git a/UltiSnips/c.snippets b/UltiSnips/c.snippets index e0cc7fd..9fd1615 100644 --- a/UltiSnips/c.snippets +++ b/UltiSnips/c.snippets @@ -111,6 +111,12 @@ else { } endsnippet +snippet eli "else if .. (eli)" +else if (${1:/* condition */}) { + ${VISUAL}${0:${VISUAL/(.*)/(?1::\/* code *\/)/}} +} +endsnippet + snippet ife "if .. else (ife)" if (${1:/* condition */}) {