diff --git a/UltiSnips/c.snippets b/UltiSnips/c.snippets index f6a5ca5..1b13928 100644 --- a/UltiSnips/c.snippets +++ b/UltiSnips/c.snippets @@ -112,8 +112,8 @@ else { endsnippet snippet eli "else if .. (eli)" + ${VISUAL}${0:${VISUAL/(.*)/(?1::\/* code *\/)/}} else if (${1:/* condition */}) { - ${2:/* else.i */} } endsnippet